Skip to content

Commit

Permalink
v.0.0.3 release
Browse files Browse the repository at this point in the history
  • Loading branch information
claremacrae committed Sep 8, 2021
1 parent d9910c6 commit 7cb2a29
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 8 deletions.
3 changes: 2 additions & 1 deletion ApprovalTestsQt/ApprovalTestsQt.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
#include "ApprovalTestsQt/integrations/LoadApprovals.h"
#include "ApprovalTestsQt/writers/QTableViewWriter.h"
#include "ApprovalTestsQt/writers/QImageApprovalWriter.h"
#include "ApprovalTestsQt/comparators/QImageApprovalComparator.h"
#include "ApprovalTestsQt/ApprovalTestsQtVersion.h"
#include "ApprovalTestsQt/ApprovalsQt.h"
#include "ApprovalTestsQt/comparators/QImageApprovalComparator.h"
#include "ApprovalTestsQt/SafeQTestMacros.h"
#include "ApprovalTestsQt/integrations/catch/Catch2QtApprovals.h"
#include "ApprovalTestsQt/integrations/catch/Catch2QtStringMaker.h"

Expand Down
4 changes: 2 additions & 2 deletions ApprovalTestsQt/ApprovalTestsQtVersion.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

#define APPROVAL_TESTS_QT_VERSION_MAJOR 0
#define APPROVAL_TESTS_QT_VERSION_MINOR 0
#define APPROVAL_TESTS_QT_VERSION_PATCH 2
#define APPROVAL_TESTS_QT_VERSION_STR "0.0.2"
#define APPROVAL_TESTS_QT_VERSION_PATCH 3
#define APPROVAL_TESTS_QT_VERSION_STR "0.0.3"

#define APPROVAL_TESTS_QT_VERSION \
(APPROVAL_TESTS_QT_VERSION_MAJOR * 10000 + APPROVAL_TESTS_QT_VERSION_MINOR * 100 + \
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ To change this file edit the source file and then execute ./run_markdown_templat
[![Actions Status](https://github.com/approvals/ApprovalTests.cpp.Qt/workflows/build/badge.svg)](https://github.com/approvals/ApprovalTests.cpp.Qt/actions)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

<a href="https://github.com/approvals/ApprovalTests.cpp.Qt/releases/download/v.0.0.2/ApprovalTestsQt.v.0.0.2.hpp">Download the latest version (v.0.0.2) of the **single header file** here.</a>
<a href="https://github.com/approvals/ApprovalTests.cpp.Qt/releases/download/v.0.0.3/ApprovalTestsQt.v.0.0.3.hpp">Download the latest version (v.0.0.3) of the **single header file** here.</a>

<!-- toc -->
## Contents
Expand Down Expand Up @@ -55,6 +55,7 @@ You can download the [Starter Project](https://github.com/approvals/ApprovalTest
## Limitations

* **IMPORTANT:** Do not use the [Qt Test macros](https://doc.qt.io/qt-5/qtest.html#macros), such as `QCOMPARE`, `QVERIFY`, `QTRY_COMPARE` and so on. **Currently, any test failures of all any of the Qt Test macros will be silently swallowed, and tests will spuriously pass.**
* Currently, there are compile-time checks to prevent incorrect use of `QCOMPARE`, but not the others.
* Please note that this is a very early implementation, and there is not yet any promise of a stable interface.

## Reference
Expand Down
11 changes: 11 additions & 0 deletions build/release_notes/relnotes_0.0.3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- See the [v.0.0.3 milestone](https://github.com/approvals/ApprovalTests.cpp.Qt/milestone/__MILESTONE_NUMBER__?closed=1) for the full list of changes. -->

* **Breaking changes**
* None
* **New features**
* None
* **Bug fixes**
* Add compile-time checks to prevent incorrect use of `QCOMPARE` from the Catch2 framework (#6 - thanks to Fabial Kosmale of Qt)
* Now creates valid image files for new image-based approval tests (#7)
* **Other changes**
* None
3 changes: 1 addition & 2 deletions build/relnotes_x.y.z.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* **New features**
* None
* **Bug fixes**
* Add compile-time checks to prevent incorrect use of `QCOMPARE` from the Catch2 framework (#6 - thanks to Fabial Kosmale of Qt)
* Now creates valid image files for new image-based approval tests (#7)
* None
* **Other changes**
* None
2 changes: 1 addition & 1 deletion build/version.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[VERSION]
major = 0
minor = 0
patch = 2
patch = 3

2 changes: 1 addition & 1 deletion mdsource/README.source.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[![Actions Status](https://github.com/approvals/ApprovalTests.cpp.Qt/workflows/build/badge.svg)](https://github.com/approvals/ApprovalTests.cpp.Qt/actions)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

<a href="https://github.com/approvals/ApprovalTests.cpp.Qt/releases/download/v.0.0.2/ApprovalTestsQt.v.0.0.2.hpp">Download the latest version (v.0.0.2) of the **single header file** here.</a>
<a href="https://github.com/approvals/ApprovalTests.cpp.Qt/releases/download/v.0.0.3/ApprovalTestsQt.v.0.0.3.hpp">Download the latest version (v.0.0.3) of the **single header file** here.</a>

toc

Expand Down

0 comments on commit 7cb2a29

Please sign in to comment.