Skip to content

beamery-tomht/tdd-demo

Repository files navigation

TDD Demo

  1. Requests list of TODO items on start at route
  2. Displays loading state
  3. Displays errors when API responds 500 - TBA
  4. Displays errors when API responds 404 - TBA
  5. Displays empty list when API responds with empty list
  6. Displays empty list when API responds unexpected data structure
  7. Displays todo items per Item responded
  8. Each todo item displays name, time,
  9. Submits TODO item when submitting form
  10. Submits GET request with filter
  11. Submits GET request when filter cleared
  12. Only submits GET when minimum character length keyword

Commands

Run unit tests

yarn test:unit

Develop unit tests

yarn test:unit:dev

Calculate coverage of unit tests

yarn test:unit:cover

Show coverage report

yarn test:unit:report

Start the app

yarn dev

Run integration tests

yarn test:int

Develop integration tests

yarn test:int:dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published