Skip to content

Commit

Permalink
📝 improve doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Yago committed Aug 12, 2020
1 parent 39ac273 commit 0230f52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/tests-handbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ There is no magic rule here, but depending of the time and budget of your projec
- **Short** time/budget 👉 Write tests **when you fix bugs** to ensure that they won't happen again
- **Large** time/budget 👉 Write tests **at the same time** that your feature's code (TDD) It will save you a lot of time repeating the same action manually.

## Unit test
## Unit tests

To create a new unit test: simple create a new file beside the file you want to test with the suffix `.spec`. For example:

Expand All @@ -34,7 +34,7 @@ To create a new unit test: simple create a new file beside the file you want to

Then write your test using mainly only the [Jest API](https://jestjs.io/docs/en/expect).

## E2E
## E2E tests

There are two kinds of E2E tests coming with the “Antistatique Frontend Development Configuration”:
- **Global E2E** : located in `./cypress/integration`, will test the **final product**, aka your app
Expand Down

0 comments on commit 0230f52

Please sign in to comment.