-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
junit: add skipped attribute to testsuite
- Loading branch information
Showing
5 changed files
with
20 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
<testsuites><testsuite package="junit_alcotest" id="0" name="Skip test suite" timestamp="2013-05-24T10:23:58" hostname="localhost" tests="2" failures="0" errors="0" time="0"><properties></properties><testcase name="Skipped quick" classname="Skip test suite.Skipped tests" time="0"><skipped></skipped></testcase><testcase name="Skipped slow" classname="Skip test suite.Skipped tests" time="0"><skipped></skipped></testcase></testsuite><testsuite package="junit_alcotest" id="1" name="My first test" timestamp="2013-05-24T10:23:58" hostname="localhost" tests="4" failures="0" errors="2" time="0"><properties></properties><testcase name="Test with unexpected exception" classname="My first test.Basic tests" time="0"><error message="test crashed" type="exception raised">Invalid_argument("7")</error></testcase><testcase name="Capitalize" classname="My first test.Basic tests" time="0"></testcase><testcase name="Add entries" classname="My first test.Basic tests" time="0"></testcase><testcase name="Test with wrong result" classname="My first test.Basic tests" time="0"><error message="test crashed" type="exception raised">Alcotest assertion failure | ||
<testsuites><testsuite package="junit_alcotest" id="0" name="Skip test suite" timestamp="2013-05-24T10:23:58" hostname="localhost" tests="2" failures="0" errors="0" skipped="2" time="0"><properties></properties><testcase name="Skipped quick" classname="Skip test suite.Skipped tests" time="0"><skipped></skipped></testcase><testcase name="Skipped slow" classname="Skip test suite.Skipped tests" time="0"><skipped></skipped></testcase></testsuite><testsuite package="junit_alcotest" id="1" name="My first test" timestamp="2013-05-24T10:23:58" hostname="localhost" tests="4" failures="0" errors="2" skipped="0" time="0"><properties></properties><testcase name="Test with unexpected exception" classname="My first test.Basic tests" time="0"><error message="test crashed" type="exception raised">Invalid_argument("7")</error></testcase><testcase name="Capitalize" classname="My first test.Basic tests" time="0"></testcase><testcase name="Add entries" classname="My first test.Basic tests" time="0"></testcase><testcase name="Test with wrong result" classname="My first test.Basic tests" time="0"><error message="test crashed" type="exception raised">Alcotest assertion failure | ||
[1mFile "alcotest/junit_alcotest.ml", line 20, character 6: | ||
[0m[31mFAIL[0m string_of_int equals to '7' | ||
|
||
Expected: `[32m"7"[0m' | ||
Received: `[31m"8"[0m' | ||
|
||
</error></testcase></testsuite><testsuite package="junit_alcotest" id="2" name="My second test" timestamp="2013-05-24T10:23:58" hostname="localhost" tests="4" failures="0" errors="2" time="0"><properties></properties><testcase name="Test with unexpected exception" classname="My second test.Basic tests" time="0"><error message="test crashed" type="exception raised">Invalid_argument("7")</error></testcase><testcase name="Capitalize" classname="My second test.Basic tests" time="0"></testcase><testcase name="Add entries" classname="My second test.Basic tests" time="0"></testcase><testcase name="Test with wrong result" classname="My second test.Basic tests" time="0"><error message="test crashed" type="exception raised">Alcotest assertion failure | ||
</error></testcase></testsuite><testsuite package="junit_alcotest" id="2" name="My second test" timestamp="2013-05-24T10:23:58" hostname="localhost" tests="4" failures="0" errors="2" skipped="0" time="0"><properties></properties><testcase name="Test with unexpected exception" classname="My second test.Basic tests" time="0"><error message="test crashed" type="exception raised">Invalid_argument("7")</error></testcase><testcase name="Capitalize" classname="My second test.Basic tests" time="0"></testcase><testcase name="Add entries" classname="My second test.Basic tests" time="0"></testcase><testcase name="Test with wrong result" classname="My second test.Basic tests" time="0"><error message="test crashed" type="exception raised">Alcotest assertion failure | ||
[1mFile "alcotest/junit_alcotest.ml", line 20, character 6: | ||
[0m[31mFAIL[0m string_of_int equals to '7' | ||
|
||
Expected: `[32m"7"[0m' | ||
Received: `[31m"8"[0m' | ||
|
||
</error></testcase></testsuite><testsuite package="junit_alcotest" id="3" name="Success test suite" timestamp="2013-05-24T10:23:58" hostname="localhost" tests="2" failures="0" errors="0" time="0"><properties></properties><testcase name="Capitalize" classname="Success test suite.Good tests" time="0"></testcase><testcase name="Add entries" classname="Success test suite.Good tests" time="0"></testcase></testsuite></testsuites> | ||
</error></testcase></testsuite><testsuite package="junit_alcotest" id="3" name="Success test suite" timestamp="2013-05-24T10:23:58" hostname="localhost" tests="2" failures="0" errors="0" skipped="0" time="0"><properties></properties><testcase name="Capitalize" classname="Success test suite.Good tests" time="0"></testcase><testcase name="Add entries" classname="Success test suite.Good tests" time="0"></testcase></testsuite></testsuites> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<testsuites><testsuite package="JUnitXmlReporter" id="0" name="JUnitXmlReporter" timestamp="2013-05-24T10:23:58" hostname="localhost" tests="0" failures="0" errors="0" time="0"><properties></properties></testsuite><testsuite package="JUnitXmlReporter.constructor" id="1" name="JUnitXmlReporter.constructor" timestamp="2013-05-24T10:23:58" hostname="localhost" tests="3" failures="1" errors="0" time="0.006"><properties><property name="project.jdk.classpath" value="jdk.classpath.1.6"></property><property name="compiler.debug" value="on"></property><property name="java.vendor" value="Sun Microsystems Inc."></property></properties><testcase name="should default useDotNotation to true" classname="JUnitXmlReporter.constructor" time="0"></testcase><testcase name="should default consolidate to true" classname="JUnitXmlReporter.constructor" time="0"><skipped></skipped></testcase><testcase name="should default path to an empty string" classname="JUnitXmlReporter.constructor" time="0.006"><failure message="test failure" type="not equal">Assertion failed</failure></testcase></testsuite></testsuites> | ||
<testsuites><testsuite package="JUnitXmlReporter" id="0" name="JUnitXmlReporter" timestamp="2013-05-24T10:23:58" hostname="localhost" tests="0" failures="0" errors="0" skipped="0" time="0"><properties></properties></testsuite><testsuite package="JUnitXmlReporter.constructor" id="1" name="JUnitXmlReporter.constructor" timestamp="2013-05-24T10:23:58" hostname="localhost" tests="3" failures="1" errors="0" skipped="1" time="0.006"><properties><property name="project.jdk.classpath" value="jdk.classpath.1.6"></property><property name="compiler.debug" value="on"></property><property name="java.vendor" value="Sun Microsystems Inc."></property></properties><testcase name="should default useDotNotation to true" classname="JUnitXmlReporter.constructor" time="0"></testcase><testcase name="should default consolidate to true" classname="JUnitXmlReporter.constructor" time="0"><skipped></skipped></testcase><testcase name="should default path to an empty string" classname="JUnitXmlReporter.constructor" time="0.006"><failure message="test failure" type="not equal">Assertion failed</failure></testcase></testsuite></testsuites> |