Skip to content

pettermahlen/better-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

better-tests

This is a small sample project illustrating some techniques I think are useful when writing tests. It has the following stuff:

  1. An illustration of using Cucumber for acceptance testing.
  2. Many examples of small, focused unit test cases that validate a single feature.
  3. An example of validating logging, for when logging a condition is considered important enough to mandate a test.
  4. Several examples of stubbing (using the Apollo StubClient)
  5. An example of using a fake rather than a mock
  6. An example of using a mock.

About

Example project demonstrating outside-in tests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published