-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathjunit-failing-report.xml
40 lines (40 loc) · 7.6 KB
/
junit-failing-report.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite tests="12" failures="10" time="0.720" name="failing-tests">
<properties>
<property name="go.version" value="go1.12.1"></property>
</properties>
<testcase classname="failing-tests" name="it_should_support_defer_even_on_fails" time="0.010"></testcase>
<testcase classname="failing-tests" name="it_should_assert_command" time="0.000">
<failure message="Failed" type=""> + it_should_assert_command
 + assert_true 'ls /xxxtmp'
 + ls /xxxtmp
 ls: /xxxtmp: No such file or directory
 + assert_eq 1 0 'expecting command '\''ls /xxxtmp'\'' to succeed'
 + description='expecting command '\''ls /xxxtmp'\'' to succeed'
 + set +x
 �[1;37;41mfailed expectation:�[m �[1;38;40mexpecting command 'ls /xxxtmp' to succeed ('1' == '0') �[m
 ######################################## FAILED TEST: expecting command 'ls /xxxtmp' to succeed ('1' == '0')
 + exit 1
./failing-tests.sh:25:it_should_assert_command�[m</failure>
</testcase>
<testcase classname="failing-tests" name="it_should_assert_command_with_description" time="0.000">
<failure message="Failed" type=""> + it_should_assert_command_with_description
 + assert_true 'ls /xxxtmp' 'assert_true with a description'
 + ls /xxxtmp
 ls: /xxxtmp: No such file or directory
 + assert_eq 1 0 'assert_true with a description'
 + description='assert_true with a description'
 + set +x
 �[1;37;41mfailed expectation:�[m �[1;38;40massert_true with a description ('1' == '0') �[m
 ######################################## FAILED TEST: assert_true with a description ('1' == '0')
 + exit 1</failure>
</testcase>
<testcase classname="failing-tests" name="it_should_negate_assert_match_correctly" time="0.010">
<failure message="Failed" type=""> + it_should_negate_assert_match_correctly
 + assert_nmatch hallo ll
 + __SPEC_SH_NEGATE=1
 + assert_match hallo ll
 + set +o pipefail
 + printf %s hallo
 + grep -E -m1 -o ll
 + head -n1
 + grep -E ll
 ll
 + assert_eq 0 0 'checking '\''hallo'\'' to match /ll/'
 + description='checking '\''hallo'\'' to match /ll/'
 + set +x
 �[1;37;41mfailed expectation:�[m �[1;38;40mchecking 'hallo' to match /ll/ ('0' != '0') �[m
 ######################################## FAILED TEST: checking 'hallo' to match /ll/ ('0' != '0')
 + exit 1</failure>
</testcase>
<testcase classname="failing-tests" name="it_should_compare_exit_code" time="0.010">
<failure message="Failed" type=""> + it_should_compare_exit_code
 + false
 + assert_eq 0 0
 + description=
 + set +x
 ######################################## PASSED TEST: '0' == '0'
 + assert_eq 0 0 '0 should be 0'
 + description='0 should be 0'
 + set +x
 ######################################## PASSED TEST: 0 should be 0 ('0' == '0')
 + assert_eq 0 2
 + description=
 + set +x
 �[1;37;41mfailed expectation:�[m �[1;38;40m'0' == '2' �[m
 ######################################## FAILED TEST: '0' == '2'
 + exit 1</failure>
</testcase>
<testcase classname="failing-tests" name="it_should_compare_string" time="0.000">
<failure message="Failed" type=""> + it_should_compare_string
 ++ echo hallo
 ++ tr l x
 + assert_eq haxxo haggo
 + description=
 + set +x
 �[1;37;41mfailed expectation:�[m �[1;38;40m'haxxo' == 'haggo' �[m
 ######################################## FAILED TEST: 'haxxo' == 'haggo'
 + exit 1
./failing-tests.sh:51:it_should_compare_string�[m</failure>
</testcase>
<testcase classname="failing-tests" name="it_should_compare_string_with_description" time="0.000">
<failure message="Failed" type=""> + it_should_compare_string_with_description
 ++ echo hallo
 ++ tr l x
 + assert_eq haxxo haggo 'transforming string should work'
 + description='transforming string should work'
 + set +x
 �[1;37;41mfailed expectation:�[m �[1;38;40mtransforming string should work ('haxxo' == 'haggo') �[m
 ######################################## FAILED TEST: transforming string should work ('haxxo' == 'haggo')
 + exit 1</failure>
</testcase>
<testcase classname="failing-tests" name="it_should_match_regexp" time="0.310">
<failure message="Failed" type=""> + it_should_match_regexp
 + sleep 0.3
 + assert_match aaa:88X09 'aaa:[0-9]{5}'
 + set +o pipefail
 + printf %s aaa:88X09
 + grep -E -m1 -o 'aaa:[0-9]{5}'
 + head -n1
 + grep -E 'aaa:[0-9]{5}'
 + assert_eq 1 0 'checking '\''aaa:88X09'\'' to match /aaa:[0-9]{5}/'
 + description='checking '\''aaa:88X09'\'' to match /aaa:[0-9]{5}/'
 + set +x
 �[1;37;41mfailed expectation:�[m �[1;38;40mchecking 'aaa:88X09' to match /aaa:[0-9]{5}/ ('1' == '0') �[m
 ######################################## FAILED TEST: checking 'aaa:88X09' to match /aaa:[0-9]{5}/ ('1' == '0')
 + exit 1</failure>
</testcase>
<testcase classname="failing-tests" name="it_should_negate_assert_correctly" time="0.000">
<failure message="Failed" type=""> + it_should_negate_assert_correctly
 + assert_false 'ls /' 'this test should fail'
 + __SPEC_SH_NEGATE=1
 + assert_true 'ls /' 'this test should fail'
 + ls /
 Applications
 Library
 Network
 System
 Users
 Volumes
 bin
 cores
 dev
 etc
 home
 installer.failurerequests
 net
 opt
 private
 sbin
 tmp
 usr
 var
 + assert_eq 0 0 'this test should fail'
 + description='this test should fail'
 + set +x
 �[1;37;41mfailed expectation:�[m �[1;38;40mthis test should fail ('0' != '0') �[m
 ######################################## FAILED TEST: this test should fail ('0' != '0')
 + exit 1</failure>
</testcase>
<testcase classname="failing-tests" name="it_should_negate_assert_eq_correctly" time="0.000">
<failure message="Failed" type=""> + it_should_negate_assert_eq_correctly
 + assert_neq 1 1
 + __SPEC_SH_NEGATE=1
 + assert_eq 1 1
 + description=
 + set +x
 �[1;37;41mfailed expectation:�[m �[1;38;40m'1' != '1' �[m
 ######################################## FAILED TEST: '1' != '1'
 + exit 1</failure>
</testcase>
<testcase classname="failing-tests" name="it_should_reflect_exit_code" time="0.000">
<failure message="Failed" type=""> + it_should_reflect_exit_code
 + return 3
 + res=3
 + set +x</failure>
</testcase>
<testcase classname="failing-tests" name="after_all" time="0.000"></testcase>
</testsuite>
</testsuites>