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
Enable console colour in the approval tests on windows.
- Commit
90988f578c83a73596f30b1cd8ec7c5ecebe613e- Author
- Rupert Steel ·
- Committer
- Martin Hořeňovský
- Parents
e5fe3e877af4
Changes
scripts/approvalTests.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/approvalTests.py b/scripts/approvalTests.py index ee6a8f15..9ce927b6 100755 --- a/scripts/approvalTests.py +++ b/scripts/approvalTests.py @@ -12,6 +12,10 @@ import difflib import scriptCommon from scriptCommon import catchPath +if os.name == 'nt': + # Enable console colours on windows + os.system('') + rootPath = os.path.join(catchPath, 'projects/SelfTest/Baselines')