MyTest Unit Tests Results

Designed by CppTest

Summary

Tests Errors Success Time (s)
7 4 43% 0.000160

Test suites

Name Tests Errors Success Time (s)
FailTestSuite 2 1 50% 0.000007
CompareTestSuite 3 2 33% 0.000005
ThrowTestSuite 2 1 50% 0.000148

Suite: FailTestSuite

Name Errors Success Time (s)
success 0 true 0.000001
always_fail 1 false 0.000006

Back to top

Suite: CompareTestSuite

Name Errors Success Time (s)
success 0 true 0.000001
compare 1 false 0.000002
delta_compare 1 false 0.000002

Back to top

Suite: ThrowTestSuite

Name Errors Success Time (s)
success 0 true 0.000000
test_throw 6 false 0.000148

Back to top


Test results

Test FailTestSuite::always_fail
File mytest.cpp:62
Message "unconditional fail"

Back to FailTestSuite

Test CompareTestSuite::compare
File mytest.cpp:89
Message 0 == 1

Back to CompareTestSuite

Test CompareTestSuite::delta_compare
File mytest.cpp:100
Message delta(0.5, 0.7, 0.1)

Back to CompareTestSuite

Test ThrowTestSuite::test_throw
File mytest.cpp:122
Message func() does not throw, expected int exception

Test ThrowTestSuite::test_throw
File mytest.cpp:123
Message func_no_throw() does not throw, expected int exception

Test ThrowTestSuite::test_throw
File mytest.cpp:124
Message func() does not throw, expected any exception

Test ThrowTestSuite::test_throw
File mytest.cpp:125
Message func_no_throw() does not throw, expected any exception

Test ThrowTestSuite::test_throw
File mytest.cpp:139
Message func_throw_int() throws an int, expected a float exception

Test ThrowTestSuite::test_throw
File mytest.cpp:140
Message func_throw_int() throws an int, expected no exception at all

Back to ThrowTestSuite