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

Add a basic Catch2 based unittest setup #31

Merged
merged 4 commits into from
Oct 20, 2022

Conversation

tmadlener
Copy link
Contributor

BEGINRELEASENOTES

  • Adding a basic Catch2 v3 based unittest setup that can be used to easily add unittests.
    • The CMake configuration allows to either build Catch2 on the fly or to discover a suitable installation of Catch2
  • Add the existing test and an example unittest to the test suit that can be run via ctest after building the package.
  • Disable building the tests for the coverity workflow for now to avoid polluting the output of that with Catch2 issues

ENDRELEASENOTES

This serves as the basis for the discussion / plan described in #24 (comment)

@tmadlener
Copy link
Contributor Author

@andresailer I am not entirely sure why, but it seems git is not working when using the iLCSoft nightlies in CI: https://github.com/tmadlener/MarlinUtil/actions/runs/3113369470/jobs/5047912751#step:4:328

Is this something that can be easily fixed?

@tmadlener tmadlener force-pushed the add-helix-unit-tests branch from 2e02914 to d9f7755 Compare October 20, 2022 08:38
@tmadlener tmadlener force-pushed the add-helix-unit-tests branch from d9f7755 to ae8963c Compare October 20, 2022 09:56
@tmadlener tmadlener merged commit 3c000b2 into iLCSoft:master Oct 20, 2022
@tmadlener tmadlener deleted the add-helix-unit-tests branch October 20, 2022 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

1 participant