Add support for unit testing

* Downgraded macOS CI to Qt 6.2.0 due to a bug in Qt Test module
* Revised cmake build scripts
* For now, only building via cmake is supported

PR #17338.
This commit is contained in:
Chocobo1 2022-07-10 13:20:27 +08:00 committed by GitHub
commit 03da68b1cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 311 additions and 206 deletions

4
test/Readme.md Normal file
View file

@ -0,0 +1,4 @@
# Test suite
To run tests, add `-DTESTING=ON` argument when invoking cmake, then build the app as usual. \
After building, run `cmake --build <build> --target check` where `<build>` is your cmake build directory.