The goal of this coding dojo is to improve testing skills of your team with Angular with fun !
At least, team members should know about test doubles. It's a good idea to introduce, clearly and in a concise way, test doubles your team.
Difference between stubs, mocks, fakes and spies
- Go to project folder and install dependencies:
npm install
- Verify that everything is OK by running the test
npm test
- Launch development server, and open
localhost:4200
in your browser:
npm start
it should have n target zones
it should have 20 numbers
it should have numbers from 1 to 20
it should have triple target zone
it should have double target zone
it should have one 50 and 25 target zones
it should have default values on init
it should have 20 numbers around
it should show a score of n for 500ms
it should emit a score of n
Create a new component to show the score in real time Dart comes with a lot of game mode. Try coding the 501 one. Each hit will decrease the score. The winner will be the one who reaches 0.
Use this CSS for the score :
.score {
font-family: scoreboard;
font-size: 3.25rem;
color: white;
user-select: none;
}
Enjoy !
This project was generated with ngX-Rocket version 11.0.0