Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nunogois/typescript-jest-tdd
Test Driven Development Example in TypeScript using Jest.
https://github.com/nunogois/typescript-jest-tdd
jest tdd-typescript test-driven-development typescript unit-testing
Last synced: 16 days ago
JSON representation
Test Driven Development Example in TypeScript using Jest.
- Host: GitHub
- URL: https://github.com/nunogois/typescript-jest-tdd
- Owner: nunogois
- License: mit
- Created: 2021-03-10T23:00:10.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-11T15:08:25.000Z (almost 4 years ago)
- Last Synced: 2024-11-27T17:12:17.881Z (3 months ago)
- Topics: jest, tdd-typescript, test-driven-development, typescript, unit-testing
- Language: TypeScript
- Homepage:
- Size: 101 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# typescript-jest-tdd
Test Driven Development Example in TypeScript using Jest.
![]()
## Getting Started
1. Fork or clone this repository by running `git clone https://github.com/nunogois/typescript-jest-tdd.git` in a folder of your choice;
2. Run `npm install` or `yarn` on the created project folder to install pre-requisites;
3. Run our tests: `npm test` or `yarn test` and check the results - it should also create a coverage folder with a report **index.html** that you can open in your browser;## Disclaimer
I'm still getting used to TypeScript, Jest and TDD in general. If you spot any errors or possible improvements, please let me know!## Using
- [TypeScript](https://www.typescriptlang.org/)
- [jest](https://jestjs.io/docs/getting-started)
- [ts-jest](https://github.com/kulshekhar/ts-jest)