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

Post: Testing by usage examples #31

Open
kettanaito opened this issue May 20, 2020 · 0 comments
Open

Post: Testing by usage examples #31

kettanaito opened this issue May 20, 2020 · 0 comments

Comments

@kettanaito
Copy link
Owner

Showcase practical applications of "test based on usage" approach. I've used this pattern in multiple projects, and I can only say incredible things about it. A few reasons why one should consider adopting this pattern:

  • Determines proper concerns and scope of a test.
  • Focuses on the usage scenario, ensuring it doesn't have test-related things.
  • Effectively, you write both usage scenario (shareable publicly) and a test (confirming that usage actually works).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant