-
Notifications
You must be signed in to change notification settings - Fork 47
Symmetrical Unit Test
Justin Searls edited this page Aug 14, 2015
·
1 revision
A unit test is said to be "symmetrical" with its subject when:
- It's placed in a directory that mirrors the subject and with a name that can be predicted by its filename (e.g.
lib/foo.js
is tested bylib/foo-test.js
) - It is the only unit test of the public behavior of the subject
- It does not effectively specify the behavior of the subject's dependencies
This wiki was put together by your friends at test double. Come say hi!
- Test-driven development
- Test Doubles
- Refactoring Legacy Code
- Training Activities
- Additional Concepts