{"id":21480457,"url":"https://github.com/codewithmmak/mocha-chai-typescript","last_synced_at":"2025-08-14T08:16:48.553Z","repository":{"id":38458443,"uuid":"158732914","full_name":"codewithmmak/mocha-chai-typescript","owner":"codewithmmak","description":"This is sample Test Automation framework designed using Mocha, Chai and TypeScript","archived":false,"fork":false,"pushed_at":"2024-11-19T20:00:17.000Z","size":489,"stargazers_count":6,"open_issues_count":12,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-19T21:17:53.805Z","etag":null,"topics":["bdd-framework","chai","chai-typescript","mocha","mochawesome","typescript","typescript-test","visual-studio"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codewithmmak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-22T17:37:21.000Z","updated_at":"2024-09-19T03:46:50.000Z","dependencies_parsed_at":"2024-05-12T05:22:17.473Z","dependency_job_id":"7fb100b9-a946-4d25-a5e7-d8f97920b601","html_url":"https://github.com/codewithmmak/mocha-chai-typescript","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmmak%2Fmocha-chai-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmmak%2Fmocha-chai-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmmak%2Fmocha-chai-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmmak%2Fmocha-chai-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codewithmmak","download_url":"https://codeload.github.com/codewithmmak/mocha-chai-typescript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226038782,"owners_count":17564046,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bdd-framework","chai","chai-typescript","mocha","mochawesome","typescript","typescript-test","visual-studio"],"created_at":"2024-11-23T12:15:12.823Z","updated_at":"2024-11-23T12:15:13.453Z","avatar_url":"https://github.com/codewithmmak.png","language":"TypeScript","readme":"![Mocha, Chai, and Typescript](./images/mocha-chai-typescript.png?raw=true \"Mocha, Chai, and Typescript\")\n\n# Mocha, Chai, and Typescript Setup Guide\nThis is Test Automation framework designed using Mocha, Chai, and Typescript.\n\n## Framework Structure\n```\n├───images\n├───page-objects\n├───test-data\n├───test-suites\n├───.gitignore\n├───package.json\n├───README.md\n└───tslint.json\n```\n\n## To Get Started\n\n### Pre-requisites\n* Download and install Chrome or Firefox browser.\n* Download and install Node.js\n* Download and install any Text Editor like Visual Code/Sublime/Brackets\n\n### Setup Scripts \n* Clone the repository into a folder\n* Go to Project root directory and install Dependency: `npm install`\n* All the dependencies from package.json and ambient typings would be installed in node_modules folder.\n\n### How to write Test\n* Add new spec under test-suite folder\n* Name the file as \u003ctestname\u003e.spec.ts (e.g. super-calculator.spec.ts)\n* Create folder under page-objects/pages as \u003cpage-name\u003e (e.g. super-calculator)\n* Under page folder create constant, helper and page object file.\n    * \u003cpage-name\u003e.constants.ts (e.g. super-calculator.constants.ts)\n    * \u003cpage-name\u003e.helper.ts (e.g. super-calculator.helper.ts)\n    * \u003cpage-name\u003e.po.ts (e.g. super-calculator.po.ts)\n\n### How to Run Test\n* Run complete Test Suite: `npm test`\n\n### How to Update local npm packages\n* Go to Project root directory and run command: `npm update`\n\n### Sample Test Results\n![Mocha, Chai, and Typescript Test Result](./images/test-results.png?raw=true \"Mocha, Chai, and Typescript Test Result\")\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithmmak%2Fmocha-chai-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodewithmmak%2Fmocha-chai-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithmmak%2Fmocha-chai-typescript/lists"}