Changes between Version 1 and Version 2 of WritingTests


Ignore:
Timestamp:
Aug 11, 2009, 4:30:53 PM (15 years ago)
Author:
Philip Taylor
Comment:

add some test details

Legend:

Unmodified
Added
Removed
Modified
  • WritingTests

    v1 v2  
    4040}}}
    4141
     42After adding a new test file, you have to run the `update-workspaces` script to integrate the new file into the build system.
     43
    4244== New assertion macros ==
    4345
     
    6870== Running tests ==
    6971
    70 To run a single test suite instead of all tests, add the command-line argument `-test TestSuitename`. To run a single test, do `-test TestSuitename::test_case_name` (using the class/method names from the test code).
     72On Windows: Run the "test" project in the VS debugger. Or, use "set as startup project" on the "test" project and then use F5 to run it.
     73
     74On Linux and OS X: Run `make` or `make test` to build the test executable. Then run `./test_dbg` from `binaries/system`.
     75
     76To run a single test suite instead of all tests, add the command-line argument `-test TestSuitename`. To run a single test, add `-test TestSuitename::test_case_name` (using the class/method names from the test code).