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

Adds support for the google test run button in nova #7062

Merged
merged 7 commits into from
Dec 6, 2024

Conversation

LeFrosch
Copy link
Collaborator

Discussion thread for this change

Issue number: #6981 and #7043

Description of this change

Adds support for the gutter run button for google tests. The button itself is provided by the backend and we only need to register a provider to actually run these tests.

@LeFrosch LeFrosch force-pushed the radler-google-test branch 4 times, most recently from 45b03a5 to 1d2e136 Compare November 26, 2024 17:08
Replaced generic 'clwb/...' target with specific 'clwb:clwb_bazel_zip' and ':clwb_tests' in all build configurations. This ensures only compatible targets are build.
@@ -59,6 +59,8 @@ java_import(
"plugins/clion-test-google/lib/*.jar",
"plugins/clion-test-catch/lib/*.jar",
"plugins/clion-test-boost/lib/*.jar",
"plugins/clion-radler/lib/*.jar",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a possible solution: define this in a separate java_import statement, use that library in https://github.com/bazelbuild/intellij/pull/7062/files#diff-242eb0d3dc78241907aa160705183dba65b9f3cb747ee146887eaf081f7622f5R18 and let's keep using classic so far for development purposes

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I played around with multiple options, I think just using the suppressed plugin set options is the easiest for now. This allows us later to run test for classic and radler. Tho radler requires the path to the backend binary which I could not get working for now.

Copy link
Collaborator

@ujohnny ujohnny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

proposed patch set is shared privately

@LeFrosch LeFrosch merged commit 0e1b023 into bazelbuild:master Dec 6, 2024
5 checks passed
@LeFrosch LeFrosch deleted the radler-google-test branch December 6, 2024 16:57
@github-actions github-actions bot removed the awaiting-review Awaiting review from Bazel team on PRs label Dec 6, 2024
LeFrosch added a commit that referenced this pull request Dec 16, 2024
Based on the changes from #7062 this adds support for catch2 run configurations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product: CLion CLion plugin
Projects
2 participants