Next: What should a test
Up: Notes
Previous: Notes
  Contents
  Index
- JUnit test methods stop at the first failure in an assertion; other test methods will be run, but no further assert tests will be run in the current method.
- Naming conventions - Our current testing philosophy is to create test classes with the same name as the class that you want to test, with an "_" preceding the class name.
- Also, the test classes are put in the same directory/package as the class that is being tested.
- Design Philosophy: Design to Test. Design code for the problem at hand, but also include in the design the ability to test your code.
- Set up templates for your testing - it makes it much easier.
Next: What should a test
Up: Notes
Previous: Notes
  Contents
  Index