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 Google Test discovery with ctest #2623

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

nikriek
Copy link
Contributor

@nikriek nikriek commented Oct 20, 2023

During development with VSCode I found it helpful to see and run directly tests from the UI. This PR adds the required test discovery mechanisms for our unit and system tests.

@nikriek nikriek added the FullCI Run all CI tests (slow, but required for merge) label Oct 20, 2023
CMakeLists.txt Show resolved Hide resolved
src/test/CMakeLists.txt Outdated Show resolved Hide resolved
@Bouncner
Copy link
Collaborator

Bouncner commented Jan 5, 2024

@mweisgut: Do we want to merge?

@Bouncner Bouncner requested a review from dey4ss January 8, 2024 19:11
@Bouncner
Copy link
Collaborator

Bouncner commented Jan 8, 2024

@dey4ss : requesting you just in case you have a rough idea of cmake (which is not the case for me) and want to take a look here. If not, I'll go ahead and merge.

@Bouncner
Copy link
Collaborator

Bouncner commented Jan 9, 2024

Hey @nikriek, before I merge: I wanted to see the impact on my local machine and how often CMake is reconfigured when I add tests. Surprisingly (to me at least), there was no runtime overhead (I thought there is one given you use a timeout of 30s) and nothing happened when I added a new test to an existing test file (I expected to see CMake being triggered).

Is that behaviour expected? Can I somehow see what the effect of this PR is (I don't use any IDE).

@Bouncner
Copy link
Collaborator

Bouncner commented Mar 1, 2024

Trying again to ping you, @nikriek.

1 similar comment
@Bouncner
Copy link
Collaborator

Trying again to ping you, @nikriek.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FullCI Run all CI tests (slow, but required for merge)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants