{"id":14989764,"url":"https://github.com/nilaydshah/mochatypescripttest-101","last_synced_at":"2026-03-11T14:34:00.187Z","repository":{"id":148494549,"uuid":"111928342","full_name":"nilaydshah/MochaTypescriptTest-101","owner":"nilaydshah","description":"Unit testing using Typescript, Mocha, Chai, Mochawesome, Gulp, Visual Studio Code","archived":false,"fork":false,"pushed_at":"2019-04-04T09:42:49.000Z","size":7053,"stargazers_count":17,"open_issues_count":2,"forks_count":16,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-25T21:02:51.088Z","etag":null,"topics":["chai","gulp","gulp-task","mocha","mochawesome","node","nodejs","selenium","test-automation","testing","travis","travis-ci","typescript","typescript-testing","ui-testing","visual-studio","visual-studio-code","vscode","vsts"],"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/nilaydshah.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-11-24T14:43:14.000Z","updated_at":"2023-03-21T14:48:31.000Z","dependencies_parsed_at":"2023-05-20T08:00:24.351Z","dependency_job_id":null,"html_url":"https://github.com/nilaydshah/MochaTypescriptTest-101","commit_stats":{"total_commits":21,"total_committers":1,"mean_commits":21.0,"dds":0.0,"last_synced_commit":"a88745c3d409645cea6e38e878217877fafde9f3"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nilaydshah%2FMochaTypescriptTest-101","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nilaydshah%2FMochaTypescriptTest-101/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nilaydshah%2FMochaTypescriptTest-101/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nilaydshah%2FMochaTypescriptTest-101/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nilaydshah","download_url":"https://codeload.github.com/nilaydshah/MochaTypescriptTest-101/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248501427,"owners_count":21114674,"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":["chai","gulp","gulp-task","mocha","mochawesome","node","nodejs","selenium","test-automation","testing","travis","travis-ci","typescript","typescript-testing","ui-testing","visual-studio","visual-studio-code","vscode","vsts"],"created_at":"2024-09-24T14:18:52.910Z","updated_at":"2026-03-11T14:34:00.142Z","avatar_url":"https://github.com/nilaydshah.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MochaTypescriptTest-101\r\nTravis CI: [![Build Status](https://travis-ci.org/nilaydshah/MochaTypescriptTest-101.svg?branch=master)](https://travis-ci.org/nilaydshah/MochaTypescriptTest-101)\r\n\r\n### Unit testing using Typescript and Mocha. Code tested in Node.js v6.11.4. \r\n#### To run this code:\r\n1. Go to project root folder\r\n2. npm install (downloads node dependencies)\r\n3. code . (opens project in VS Code)\r\n4. F5 (runs VS code launch task) \r\n\r\n#### Tools, Libraries, Frameworks used:\r\n1. Coding Typescript.\r\n2. Testing framework Mocha.\r\n3. Chai for assertion framework.\r\n4. Mochawesome for reporting.\r\n5. Gulp for build tasks.\r\n6. Visual Studio Code for code editor and launch tasks\r\n7. Travis for CI build and test\r\n8. Browser based testing with Selenium\r\n\r\n#### Refer these blog posts for step by step guide: \r\n\u003e [Setting up node application with TypeScript in VS Code  —  using mocha, chai, mochawesome, gulp, travis](https://www.nilayshah.in/2019/03/30/setting-up-node-application-with-typescript-in-vs-code-using-mocha-chai-mochawesome-gulp-travis/)\r\n\r\n\u003e [UI Test Automation with Node.js, TypeScript, Mocha and Selenium](https://www.nilayshah.in/2019/03/31/ui-test-automation-with-node-js-typescript-mocha-and-selenium/)\r\n\r\n\u003e [AzureDevOps (VSTS) CI to Build and Test Node.js app with Gulp and Mocha](https://www.nilayshah.in/2019/03/31/azure-devops-ci-to-build-and-test-node-js-app-with-gulp-and-mocha/)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnilaydshah%2Fmochatypescripttest-101","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnilaydshah%2Fmochatypescripttest-101","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnilaydshah%2Fmochatypescripttest-101/lists"}