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 ->
yarn
ornpm i
-
Run ->
yarn start
ornpm start
-
Test ->
yarn test
ornpm 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.git
git checkout origin/0_start
git checkout origin/1_call_and_console_log
git checkout origin/2_testing_squirtle
git checkout origin/3_testing_three_starters
git checkout origin/4_all_the_pokemon