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
+2
View File
@@ -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() );
}