catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Updated approval tests baselines
- Commit
87891cf38b5f8c0e30e4b5dbf545429e48496896- Author
- Phil Nash ·
- Parents
3c34d65b5c4f
Changes
projects/SelfTest/Baselines/console.std.approved.txt | 2 +- projects/SelfTest/Baselines/console.sw.approved.txt | 6 +++--- projects/SelfTest/Baselines/junit.sw.approved.txt | 3 ++- projects/SelfTest/Baselines/xml.sw.approved.txt | 4 ++-- scripts/approvalTests.py | 2 +- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/projects/SelfTest/Baselines/console.std.approved.txt b/projects/SelfTest/Baselines/console.std.approved.txt index 83d2a153..af806f01 100644 --- a/projects/SelfTest/Baselines/console.std.approved.txt +++ b/projects/SelfTest/Baselines/console.std.approved.txt @@ -774,5 +774,5 @@ with expansion: "first" == "second" =============================================================================== -125 test cases - 38 failed (660 assertions - 93 failed) +125 test cases - 38 failed (661 assertions - 93 failed) diff --git a/projects/SelfTest/Baselines/console.sw.approved.txt b/projects/SelfTest/Baselines/console.sw.approved.txt index 2160b17a..bf8892f0 100644 --- a/projects/SelfTest/Baselines/console.sw.approved.txt +++ b/projects/SelfTest/Baselines/console.sw.approved.txt @@ -3656,8 +3656,8 @@ not allowed MiscTests.cpp:<line number> ............................................................................... - -No assertions in test case 'not allowed' +MiscTests.cpp:<line number>: +PASSED: ------------------------------------------------------------------------------- Process can be configured on command line @@ -6991,5 +6991,5 @@ with expansion: true =============================================================================== -125 test cases - 54 failed (680 assertions - 113 failed) +125 test cases - 53 failed (680 assertions - 112 failed) diff --git a/projects/SelfTest/Baselines/junit.sw.approved.txt b/projects/SelfTest/Baselines/junit.sw.approved.txt index 071b7838..5f848abe 100644 --- a/projects/SelfTest/Baselines/junit.sw.approved.txt +++ b/projects/SelfTest/Baselines/junit.sw.approved.txt @@ -1,5 +1,5 @@ <testsuites> - <testsuite name="~_" errors="12" failures="101" tests="680" hostname="tbd" time="{duration}" timestamp="tbd"> + <testsuite name="~_" errors="12" failures="100" tests="680" hostname="tbd" time="{duration}" timestamp="tbd"> <testcase classname="global" name="Some simple comparisons between doubles" time="{duration}"/> <testcase classname="global" name="Approximate comparisons with different epsilons" time="{duration}"/> <testcase classname="global" name="Approximate comparisons with floats" time="{duration}"/> @@ -443,6 +443,7 @@ MiscTests.cpp:<line number> </failure> </testcase> <testcase classname="A couple of nested sections followed by a failure" name="Outer/Inner" time="{duration}"/> + <testcase classname="global" name="not allowed" time="{duration}"/> <testcase classname="Process can be configured on command line" name="default - no arguments" time="{duration}"/> <testcase classname="Process can be configured on command line" name="test lists/1 test" time="{duration}"/> <testcase classname="Process can be configured on command line" name="test lists/Specify one test case exclusion using exclude:" time="{duration}"/> diff --git a/projects/SelfTest/Baselines/xml.sw.approved.txt b/projects/SelfTest/Baselines/xml.sw.approved.txt index 4f8835b5..24560b6d 100644 --- a/projects/SelfTest/Baselines/xml.sw.approved.txt +++ b/projects/SelfTest/Baselines/xml.sw.approved.txt @@ -7245,7 +7245,7 @@ there" </Section> <OverallResult success="true"/> </TestCase> - <OverallResults successes="567" failures="113"/> + <OverallResults successes="568" failures="112"/> </Group> - <OverallResults successes="567" failures="113"/> + <OverallResults successes="568" failures="112"/> </Catch> diff --git a/scripts/approvalTests.py b/scripts/approvalTests.py index f39553dd..dc45ed0b 100644 --- a/scripts/approvalTests.py +++ b/scripts/approvalTests.py @@ -17,7 +17,7 @@ versionParser = re.compile( r'(.*?)Catch v[0-9]*.[0-9]* b[0-9]*(.*)' ) if len(sys.argv) == 2: cmdPath = sys.argv[1] else: - cmdPath = os.path.join( catchPath, 'projects/XCode4/CatchSelfTest/DerivedData/CatchSelfTest/Build/Products/Debug/CatchSelfTest' ) + cmdPath = os.path.join( catchPath, 'projects/XCode/CatchSelfTest/DerivedData/CatchSelfTest/Build/Products/Debug/CatchSelfTest' ) overallResult = 0