Changes between Initial Version and Version 1 of Ticket #117


Ignore:
Timestamp:
May 27, 2006, 7:44:33 PM (18 years ago)
Author:
Jan Wassenberg
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #117 – Description

    initial v1  
    33
    44Basic usage:
    5 * self-tests are separate Cpp files that contain only the test code. (splitting is necessary so that cxxtestgen doesn't have to parse the entire codebase)
    6 * they are stored in a tests subdir of the source directory (simplifies finding the relevant test file for purposes of editing it)
    7 * a workspace generated by premake enumerates all test files, uses custom build step to generate the actual test code, and then links it all into a separate program that runs all tests.
    8 Note: separating test code from the main PS executable has several advantages as [http://www.wildfiregames.com/forum/index.php?showtopic=10018&pid=171251&st=0&#entry171251 documented]
    9 * only running certain tests will be possible (shortens iteration time when only editing one module).
     5 * self-tests are separate Cpp files that contain only the test code. (splitting is necessary so that cxxtestgen doesn't have to parse the entire codebase)
     6 * they are stored in a tests subdir of the source directory (simplifies finding the relevant test file for purposes of editing it)
     7 * a workspace generated by premake enumerates all test files, uses custom build step to generate the actual test code, and then links it all into a separate program that runs all tests. Note: separating test code from the main PS executable has several advantages as [http://www.wildfiregames.com/forum/index.php?showtopic=10018&pid=171251&st=0&#entry171251 documented]
     8 * only running certain tests will be possible (shortens iteration time when only editing one module).
    109
    1110TODO:
    12 - add CxxTest to SVN
    13 - generate workspace for the test program (via premake)
    14 - move all existing tests over to that
    15 - filtering: modify(/replace/subclass) TestRunner and change its runWorld() so that it filters by the SuiteDescription.testName().
     11 * add !CxxTest to SVN
     12 * generate workspace for the test program (via premake)
     13 * move all existing tests over to that
     14 * filtering: modify(/replace/subclass) !TestRunner and change its runWorld() so that it filters by the !SuiteDescription.testName().