Counter is a simple web app that is used to increment and decrement a number.
- WHEN a user clicks the Increment button then the number SHOULD increment by one.
- WHEN a user clicks the Decrement button then the number SHOULD decrement by one.
Note: Initial number is predefined
Note: ReactJS & HTML, Test Driven Development (Jasmine, Jest, Ava). No CSS
Acceptance Criteria:
- A test suit SHOULD check for basic functionality
- WHEN a user clicks the Increment button then the number SHOULD increment by one.
- WHEN a user clicks the Decrement button then the number SHOULD decrement by one.
Note: Initial value SHOULD come from a mocked backend API.
Note: ReactJS & HTML, Test Driven Development (Jasmine, Jest, Ava)
Acceptance Criteria:
- A test suit SHOULD check for basic functionality
- A test suit SHOULD check for mocked number functionality
- WHEN a user clicks the Increment button then the number SHOULD increment by one.
- WHEN a user clicks the Decrement button then the number SHOULD decrement by one.
- WHEN a user clicks the Randomize button then the number SHOULD be replaced by a random number.
Note: Initial value SHOULD come from a mocked backend API.
Note: ReactJS & HTML, Test Driven Development (Jasmine, Jest, Ava)
Acceptance Criteria:
- A test suit SHOULD check for basic functionality
- A test suit SHOULD check for mocked number functionality
- A test suit SHOULD check for randomizer functionality