Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TDD Reset the Counter #5

Closed
1 task done
nelsonic opened this issue May 7, 2017 · 4 comments
Closed
1 task done

TDD Reset the Counter #5

nelsonic opened this issue May 7, 2017 · 4 comments

Comments

@nelsonic
Copy link
Member

nelsonic commented May 7, 2017

Adding the Reset action is good opportunity to write a test first!
As a user (counting things)
I want to reset the counter
So that I can start counting again from zero.

  • Clicking the reset button in the UI resets the count to 0 (zero).
@nelsonic nelsonic self-assigned this May 7, 2017
nelsonic added a commit that referenced this issue May 7, 2017
@nelsonic nelsonic changed the title Test-driven Extension to Counter Example: Reset Test-driven Extension to Counter Example: Reset the Counter May 8, 2017
@nelsonic nelsonic changed the title Test-driven Extension to Counter Example: Reset the Counter TDD Reset the Counter May 8, 2017
@nelsonic
Copy link
Member Author

nelsonic commented May 8, 2017

Failing test:
reset-counter-failing-test

@nelsonic
Copy link
Member Author

nelsonic commented May 8, 2017

Passing test:
image

@nelsonic
Copy link
Member Author

nelsonic commented May 8, 2017

reset-counter-failing-tests

@nelsonic
Copy link
Member Author

nelsonic commented May 8, 2017

reset-counter

nelsonic added a commit that referenced this issue Aug 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant