Skip to content

Instantly share code, notes, and snippets.

@curzona
Last active August 29, 2015 14:26
Show Gist options
  • Select an option

  • Save curzona/94d7be73ecd1ba1d78f0 to your computer and use it in GitHub Desktop.

Select an option

Save curzona/94d7be73ecd1ba1d78f0 to your computer and use it in GitHub Desktop.
Comparison of junit-xml results
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite errors="0" failures="2" hostname="curzona-desktop" name="TestHelloJUnit" skipped="0" tests="2" time="0.049" timestamp="2015-07-31T06:46:01">
<properties>
<property name="ant.project.invoked-targets" value="test" />
<property name="java.runtime.name" value="OpenJDK Runtime Environment" />
<property name="sun.boot.library.path" value="/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64" />
<property name="java.vm.version" value="24.79-b02" />
<property name="ant.library.dir" value="/usr/share/ant/lib" />
<property name="ant.version" value="Apache Ant(TM) version 1.9.3 compiled on April 8 2014" />
<property name="ant.java.version" value="1.7" />
<property name="java.vm.vendor" value="Oracle Corporation" />
<property name="java.vendor.url" value="http://java.oracle.com/" />
<property name="path.separator" value=":" />
<property name="java.vm.name" value="OpenJDK 64-Bit Server VM" />
<property name="file.encoding.pkg" value="sun.io" />
<property name="user.country" value="US" />
<property name="sun.java.launcher" value="SUN_STANDARD" />
<property name="sun.os.patch.level" value="unknown" />
<property name="java.vm.specification.name" value="Java Virtual Machine Specification" />
<property name="user.dir" value="/home/curzona/workspace/HelloJUnit" />
<property name="java.runtime.version" value="1.7.0_79-b14" />
<property name="java.awt.graphicsenv" value="sun.awt.X11GraphicsEnvironment" />
<property name="basedir" value="/home/curzona/workspace/HelloJUnit" />
<property name="java.endorsed.dirs" value="/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/endorsed" />
<property name="os.arch" value="amd64" />
<property name="java.io.tmpdir" value="/tmp" />
<property name="ant.core.lib" value="/usr/share/ant/lib/ant.jar" />
<property name="line.separator" value="&#xa;" />
<property name="java.vm.specification.vendor" value="Oracle Corporation" />
<property name="os.name" value="Linux" />
<property name="ant.home" value="/usr/share/ant" />
<property name="sun.jnu.encoding" value="UTF-8" />
<property name="java.library.path" value="/usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib" />
<property name="java.specification.name" value="Java Platform API Specification" />
<property name="java.class.version" value="51.0" />
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers" />
<property name="os.version" value="3.13.0-32-generic" />
<property name="ant.file" value="/home/curzona/workspace/HelloJUnit/build.xml" />
<property name="user.home" value="/home/curzona" />
<property name="user.timezone" value="" />
<property name="java.awt.printerjob" value="sun.print.PSPrinterJob" />
<property name="java.specification.version" value="1.7" />
<property name="file.encoding" value="UTF-8" />
<property name="user.name" value="curzona" />
<property name="java.class.path" value="/home/curzona/workspace/HelloJUnit/bin:/home/curzona/workspace/HelloJUnit/lib/junit-4.12.jar:/home/curzona/workspace/HelloJUnit/lib/hamcrest-all-1.3.jar:/usr/share/ant/lib/junit.jar:/usr/share/java/ant-launcher-1.9.3.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-junit.jar:/usr/share/ant/lib/ant-junit4.jar" />
<property name="java.vm.specification.version" value="1.7" />
<property name="sun.java.command" value="org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner TestHelloJUnit skipNonTests=false filtertrace=true haltOnError=false haltOnFailure=false showoutput=false outputtoformatters=true logfailedtests=true logtestlistenerevents=false formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,/home/curzona/workspace/HelloJUnit/TEST-TestHelloJUnit.xml formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter crashfile=/home/curzona/workspace/HelloJUnit/junitvmwatcher7799505410533736983.properties propsfile=/home/curzona/workspace/HelloJUnit/junit934728054317492212.properties" />
<property name="sun.arch.data.model" value="64" />
<property name="java.home" value="/usr/lib/jvm/java-7-openjdk-amd64/jre" />
<property name="user.language" value="en" />
<property name="java.specification.vendor" value="Oracle Corporation" />
<property name="awt.toolkit" value="sun.awt.X11.XToolkit" />
<property name="java.vm.info" value="mixed mode" />
<property name="java.version" value="1.7.0_79" />
<property name="java.ext.dirs" value="/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext:/usr/java/packages/lib/ext" />
<property name="sun.boot.class.path" value="/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rhino.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jfr.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/classes" />
<property name="java.vendor" value="Oracle Corporation" />
<property name="file.separator" value="/" />
<property name="java.vendor.url.bug" value="http://bugreport.sun.com/bugreport/" />
<property name="sun.cpu.endian" value="little" />
<property name="sun.io.unicode.encoding" value="UnicodeLittle" />
<property name="ant.file.type" value="file" />
<property name="sun.desktop" value="gnome" />
<property name="sun.cpu.isalist" value="" />
</properties>
<testcase classname="TestHelloJUnit" name="testSomethingElse" time="0.005">
<failure message="Not yet implemented" type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError: Not yet implemented
at TestHelloJUnit.testSomethingElse(Unknown Source)
</failure>
</testcase>
<testcase classname="TestHelloJUnit" name="testSomething" time="0.001">
<failure message="Not yet implemented" type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError: Not yet implemented
at TestHelloJUnit.testSomething(Unknown Source)
</failure>
</testcase>
<system-out><![CDATA[]]></system-out>
<system-err><![CDATA[]]></system-err>
</testsuite>
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="nosetests" tests="1" errors="1" failures="0" skip="0">
<testcase classname="test_stuff" name="test_stuff" time="0.000">
<error type="exceptions.TypeError" message="test_stuff() takes exactly 1 argument (0 given)">
<![CDATA[Traceback (most recent call last):
File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
TypeError: test_stuff() takes exactly 1 argument (0 given)
]]>
</error>
</testcase>
</testsuite>
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="nosetests" tests="5" errors="0" failures="0" skip="2">
<testcase classname="test_sequence.TestSequenceFunctions" name="test_choice" time="0.000"/>
<testcase classname="test_sequence.TestSequenceFunctions" name="test_sample" time="0.000"/>
<testcase classname="test_sequence.TestSequenceFunctions" name="test_shuffle" time="0.000"/>
<testcase classname="test_widget.MyTestCase" name="test_nothing" time="0.000">
<skipped type="unittest.case.SkipTest" message="demonstrating skipping">
<![CDATA[SkipTest: demonstrating skipping
]]>
</skipped>
</testcase>
<testcase classname="test_widget.MyTestCase" name="test_windows_support" time="0.000">
<skipped type="unittest.case.SkipTest" message="requires Windows">
<![CDATA[SkipTest: requires Windows
]]>
</skipped>
</testcase>
</testsuite>
<?xml version="1.0" encoding="utf-8"?>
<testsuite errors="0" failures="0" name="pytest" skips="0" tests="21" time="0.061">
<testcase classname="tests.utils.test_retry" name="test_retry_retval" time="0.000154972076416"/>
<testcase classname="tests.utils.test_retry" name="test_retry_eval" time="0.000149011611938"/>
<testcase classname="tests.utils.test_retry" name="test_retry_attempts[1]" time="0.00014591217041"/>
<testcase classname="tests.utils.test_retry" name="test_retry_attempts[2]" time="0.000148057937622"/>
<testcase classname="tests.utils.test_retry" name="test_retry_attempts[10]" time="0.0002601146698"/>
<testcase classname="tests.utils.test_retry" name="test_retry_timeout[1]" time="0.000270128250122"/>
<testcase classname="tests.utils.test_retry" name="test_retry_timeout[2]" time="0.000447034835815"/>
<testcase classname="tests.utils.test_retry" name="test_retry_timeout[10]" time="0.0020649433136"/>
<testcase classname="tests.utils.test_retry" name="test_retry_delay[0.1]" time="0.000269889831543"/>
<testcase classname="tests.utils.test_retry" name="test_retry_delay[0.2]" time="0.000195980072021"/>
<testcase classname="tests.utils.test_retry" name="test_retry_delay[1.0]" time="0.000128984451294"/>
<testcase classname="tests.utils.test_retry" name="test_wait_nowait" time="0.000105142593384"/>
<testcase classname="tests.utils.test_retry" name="test_wait_attempts[1]" time="0.000142097473145"/>
<testcase classname="tests.utils.test_retry" name="test_wait_attempts[2]" time="0.000152826309204"/>
<testcase classname="tests.utils.test_retry" name="test_wait_attempts[10]" time="0.000253915786743"/>
<testcase classname="tests.utils.test_retry" name="test_wait_timeout[1]" time="0.000272035598755"/>
<testcase classname="tests.utils.test_retry" name="test_wait_timeout[2]" time="0.000417947769165"/>
<testcase classname="tests.utils.test_retry" name="test_wait_timeout[10]" time="0.00147485733032"/>
<testcase classname="tests.utils.test_retry" name="test_wait_delay[0.1]" time="0.000261068344116"/>
<testcase classname="tests.utils.test_retry" name="test_wait_delay[0.2]" time="0.000188827514648"/>
<testcase classname="tests.utils.test_retry" name="test_wait_delay[1.0]" time="0.000136137008667"/>
</testsuite>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment