TestingGuidelines

From KitwarePublic
Revision as of 18:46, 21 August 2010 by Daviddoria (talk | contribs) (Created page with 'When adding a new class, a test should also be added in ...VTK/Package/Testing/Cxx/ The name of the file for the test should be ClassName.cxx where the name of the class is vt…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

When adding a new class, a test should also be added in

...VTK/Package/Testing/Cxx/

The name of the file for the test should be ClassName.cxx where the name of the class is vtkClassName.

Each test should call several functions, each as short as possible, to exercise a specific functionality of the class. 1,000 lines in main() is very hard to maintain...