Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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)