Previous Topic Next topic Print topic


Example Test Fixture File

The following is an excerpt from a test fixture file containing two test cases; one (MFUT_FailingTest) is known to be causing the test run to fail and has therefore been removed (skipped) from the test run:

[global]
# By not supplying a platform specific extension (.dll or .so)
# with the fixture-filename, this can be used cross-platform
fixture-filename=MessageOverflow
process=separate
isolate=true
report=nojunit
report=printfile
reportfile=MessageOverflow-report.txt
ignore-return-code=false
summary=true
outdir=.

[MFUT_MyShortRunningTest]
# The test fails if not completed within 10 seconds
# You can also specify ms (milliseconds)
timeout=10s
description=Short running test that should complete in < 10 seconds
trait=smoke
skipped=false
# test cases with high priorty (3000) run first
priority=3000
# Mr Smith can you fix this ASAP..

[MFUT_FailingTest]
timeout=60s
description=This failing test needs attention... fix me and re-enable
trait=smoke
# Skip a test using:
skipped=true
Previous Topic Next topic Print topic