Add local testing for C++ with Catch 2 and GoogleTest#224
Merged
bast merged 2 commits intocoderefinery:mainfrom Mar 1, 2025
Merged
Add local testing for C++ with Catch 2 and GoogleTest#224bast merged 2 commits intocoderefinery:mainfrom
bast merged 2 commits intocoderefinery:mainfrom
Conversation
Contributor
Author
|
@bast any thoughts on the nested tabs? |
On top of the previous commit adding GoogleTest, this adds an additional nested `tabs` environment so both Catch2 and GoogleTest are listed within the top level C++ tab.
Contributor
Author
|
Okay, nested tabs work quite nicely and with the right regex search & replace it's easy to add the two needed backticks in front of every tab keyword. |
Member
|
Thanks so much! This is great. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As promised quite a while ago (#216) this is a first step and adds examples for local testing of C++ with GoogleTest.
For the test design I will see if nested group tabs will work so we can hide the decision between Catch2 and GoogleTest within a single C++ tab. I think this would be a bit neater.