Todoisnt was created with create-react-app
, with a few modifications:
- The app icons are inside
src/images/icons
- The app logo is inside
src/images
. - Automated tests are added.
We have a live app with a solution to the project version 1 here
Run yarn install
to setup your application. You cannot use npm
because
the project has already used yarn
and they cannot be mixed.
Run yarn start
to run the application
There are 11 automated tests that test the main features from the version 1 of the project. Version 2 of the project does not have any tests at the moment; feel free to add more tests if it is something you want to explore!
You cannot modify any of the tests.
Use yarn test
to run the app automated test suite in watch mode. The
watch mode will execute the tests everytime your code changes.
If you just want to run the tests once you can run CI=true yarn test
.
To be able to write the tests before knowing how you are going to create the app, a few assumptions were made. You need to follow this assumptions when making your application to make the tests pass.
- The logo has an
alt
attribute set to "logo" - The checkbox for an
uncompleted
task is animg
and has the alt text set touncompleted
- The checkbox for an
completed
task is animg
and has the alt text set tocompleted
- The trash icon used to delete a task is an
img
with the alt textdelete
No, but they will help us to grade faster. The final functionality of the product is still the main thing we consider for grading.
You can reach out to an instructor 🙂