A simple example on how to use TDD with a parser for the PokéApi
Project created using react-create-app, for a more comprehensive documentation refer to its User guide
-
install ->
yarnornpm i -
Run ->
yarn startornpm start -
Test ->
yarn testornpm test
Every step is a branch, you can go directly to that branch and checkout the various stages
git clone https://github.com/zanza00/testing-with-pokemon.gitgit checkout origin/0_startgit checkout origin/1_call_and_console_loggit checkout origin/2_testing_squirtlegit checkout origin/3_testing_three_startersgit checkout origin/4_all_the_pokemon