Menu

#5 Allow named tests to be excluded dynamically

open
nobody
None
5
2012-10-25
2005-07-22
No

To allow exclusion of some tests at runtime without
having to edit source files, especially where test
suites have all been set up statically using
CU_TestInfo s, it would be helpful to provide an API to
allow selected 'suitename' or 'suitename:testname'
test cases to be excluded from an otherwise complete run.

This would allow a 'canned' set of tests to be run even
if there was some fatal error in one or more of the
test cases, since the developer would supply a list of
tests to be excluded, say in a file or even in an
environment variable or commandline parameter.

Or perhaps the API could even include the functionality
to read the exclusions in a standard format:
excludeTestsFromFile(const char * filename),
excludeTestsFromEnv(const char * envvarname).

The excluded tests would be listed in the summary
report so as not to give a misleading result.

Discussion

  • Anil Kumar

    Anil Kumar - 2005-08-05

    Logged In: YES
    user_id=154946

    Mike: We would be working on this

     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     

Anonymous
Anonymous

Add attachments
Cancel