TODO 986 B

123456789101112131415161718192021
  1. == Things To Do ==
  2. * Most of the tests are named poorly;
  3. naming should describe a use case in story-like language,
  4. not simply identify the unit under test.
  5. An example would be the difference between "testCalculate"
  6. and "testAddingIntegersTogetherWorks".
  7. * Many of the tests make multiple assertions, and are thus not unitary tests.
  8. By using data-providers and more use-case oriented test selection
  9. nearly all of these cases can be easily resolved.
  10. * Some of the test files are either incorrectly named or in the wrong folder.
  11. Tests should be organized in a mirrored structure to the source they are testing,
  12. and named the same, with the exception of the word "Test" at the end.
  13. * Shared set-up code or base classes are present,
  14. but usually named improperly or appear to be poorly factored.
  15. Support code should share as much of the same naming as the code it's supporting,
  16. and test and test-case depenencies should be considered to resolve other shared needs.