Added xml and junit output

- also fixed a typo in a test name
This commit is contained in:
Phil Nash 2012-11-29 08:49:32 +00:00
parent 22694335a5
commit 994e64c217
3 changed files with 5475 additions and 3 deletions

View File

@ -15,6 +15,8 @@ cmdPath = sys.argv[1]
f = open( rawResultsPath, 'w' ) f = open( rawResultsPath, 'w' )
subprocess.call([ cmdPath, "~dummy", "-s", "-w", "NoAssertions" ], stdout=f, stderr=f ) 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() f.close()
rawFile = open( rawResultsPath, 'r' ) rawFile = open( rawResultsPath, 'r' )

File diff suppressed because it is too large Load Diff

View File

@ -32,7 +32,7 @@ SCENARIO( storyName, "scenario name" )
{ {
// do this // do this
THEN( "it should this this") THEN( "it should do this")
{ {
REQUIRE( itDoesThis() ); REQUIRE( itDoesThis() );
} }