mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-23 03:43:28 +01:00
Added xml and junit output
- also fixed a typo in a test name
This commit is contained in:
parent
22694335a5
commit
994e64c217
@ -15,6 +15,8 @@ cmdPath = sys.argv[1]
|
||||
|
||||
f = open( rawResultsPath, 'w' )
|
||||
subprocess.call([ cmdPath, "~dummy", "-s", "-w", "NoAssertions" ], stdout=f, stderr=f )
|
||||
subprocess.call([ cmdPath, "~dummy", "-s", "-w", "NoAssertions", "-r", "junit" ], stdout=f, stderr=f )
|
||||
subprocess.call([ cmdPath, "~dummy", "-s", "-w", "NoAssertions", "-r", "xml" ], stdout=f, stderr=f )
|
||||
f.close()
|
||||
|
||||
rawFile = open( rawResultsPath, 'r' )
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -32,7 +32,7 @@ SCENARIO( storyName, "scenario name" )
|
||||
{
|
||||
// do this
|
||||
|
||||
THEN( "it should this this")
|
||||
THEN( "it should do this")
|
||||
{
|
||||
REQUIRE( itDoesThis() );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user