summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/expected_xunit.teamcity
diff options
context:
space:
mode:
authorBorgar Ovsthus <borgar.ovsthus@fmcti.com>2016-01-06 18:20:29 +0100
committerBorgar Øvsthus <borgar.ovsthus@fmcti.com>2016-01-23 18:30:58 +0000
commitfbd6acedac8e1f4ee624cb713055fcad1ceabf96 (patch)
tree37ab3e2e7ec82f5cd641c8ddfc38566b17b7fa72 /tests/auto/testlib/selftests/expected_xunit.teamcity
parent9eda09f511246720a8c4eff2bbb52bbfacc36f48 (diff)
Add TeamCity logging feature to testlib
This allows TeamCity to parse realtime test-results instead of using post-build XML Report Processing. This does not support logging of benchmarks. [ChangeLog][QTest] Added a new logging mode that allow test-results to be parsed on-the-fly when using Jetbrains TeamCity as CI-server. This mode is enabled by using the -teamcity option on the command-line. Change-Id: Ie730beb643043eb0f448f99abe6c0b5ac48aaf03 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/testlib/selftests/expected_xunit.teamcity')
-rw-r--r--tests/auto/testlib/selftests/expected_xunit.teamcity26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/auto/testlib/selftests/expected_xunit.teamcity b/tests/auto/testlib/selftests/expected_xunit.teamcity
new file mode 100644
index 0000000000..e381a081a8
--- /dev/null
+++ b/tests/auto/testlib/selftests/expected_xunit.teamcity
@@ -0,0 +1,26 @@
+##teamcity[testSuiteStarted name='tst_Xunit']
+##teamcity[testStarted name='initTestCase()']
+##teamcity[testFinished name='initTestCase()']
+##teamcity[testStarted name='testFunc1()']
+##teamcity[testStdOut name='testFunc1()' out='WARNING |[Loc: tst_xunit.cpp(59)|]: just a QWARN() !']
+##teamcity[testFinished name='testFunc1()']
+##teamcity[testStarted name='testFunc2()']
+##teamcity[testFailed name='testFunc2()' message='Failure! |[Loc: tst_xunit.cpp(66)|]' details='Compared values are not the same|n Actual (2): 2|n Expected (3): 3']
+##teamcity[testStdOut name='testFunc2()' out='QDEBUG: a qDebug() call with comment-ending stuff -->']
+##teamcity[testFinished name='testFunc2()']
+##teamcity[testIgnored name='testFunc3()' message='skipping this function! |[Loc: tst_xunit.cpp(71)|]']
+##teamcity[testStarted name='testFunc4()']
+##teamcity[testFailed name='testFunc4()' message='Failure! |[Loc: tst_xunit.cpp(76)|]' details='a forced failure!']
+##teamcity[testFinished name='testFunc4()']
+##teamcity[testStarted name='testFunc5()']
+##teamcity[testStdOut name='testFunc5()' out='XFAIL |[Loc: tst_xunit.cpp(90)|]: this failure is expected']
+##teamcity[testFinished name='testFunc5()']
+##teamcity[testStarted name='testFunc6()']
+##teamcity[testStdOut name='testFunc6()' out='XFAIL |[Loc: tst_xunit.cpp(96)|]: this failure is also expected']
+##teamcity[testFinished name='testFunc6()']
+##teamcity[testStarted name='testFunc7()']
+##teamcity[testFailed name='testFunc7()' message='Failure! |[Loc: tst_xunit.cpp(102)|]' details='|'true|' returned TRUE unexpectedly. ()']
+##teamcity[testFinished name='testFunc7()']
+##teamcity[testStarted name='cleanupTestCase()']
+##teamcity[testFinished name='cleanupTestCase()']
+##teamcity[testSuiteFinished name='tst_Xunit']