Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert to Catch2 testing framework #5473

Open
droidmonkey opened this issue Sep 26, 2020 · 0 comments
Open

Convert to Catch2 testing framework #5473

droidmonkey opened this issue Sep 26, 2020 · 0 comments
Assignees
Labels
pr: tests Pull requests that adds or modifies tests

Comments

@droidmonkey
Copy link
Member

Summary

Catch2 is a header-only test framework that is very slick. Converting to Catch2 would allow us to eliminate the multitude of test executables while still clearly sectioning tests into discrete CPP files. Tutorial:

https://github.com/catchorg/Catch2/blob/master/docs/tutorial.md

Clion supports Catch2: https://www.jetbrains.com/help/clion/catch-tests-support.html

Examples

Using an QEventLoop with Catch2: https://stackoverflow.com/a/56569699

Sample Qt Project using Catch2: https://github.com/datho7561/qt-todo/tree/master/testing

@droidmonkey droidmonkey added new feature pr: tests Pull requests that adds or modifies tests pr: refactoring Pull request that refactors code labels Sep 26, 2020
@droidmonkey droidmonkey self-assigned this Sep 26, 2020
@phoerious phoerious removed pr: refactoring Pull request that refactors code new feature labels Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: tests Pull requests that adds or modifies tests
Projects
None yet
Development

No branches or pull requests

2 participants