8000 SEAB-5247: Add MuteForSuccessfulTests extension to CLI by svonworl · Pull Request #224 · dockstore/dockstore-cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

SEAB-5247: Add MuteForSuccessfulTests extension to CLI #224

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

10000
Merged

Conversation

svonworl
Copy link
Contributor
@svonworl svonworl commented Feb 14, 2023

Description
This PR adds our new MuteForSuccessfulTests Junit 5 extension to the CLI tests.

Important changes include:

  1. changing dockstore-core.version to 1.14.0-alpha.7 (to reference the new extension).
  2. tweaks to the extension annotations and their order (because they were missing or redundant with annotations in parent classes, or to change the order so the "test status" is printed last).
  3. addition of the confidential4 paths to .gitignore, even though they're not included in the bundle, because I'd added them for another change that got reverted, but there's no harm in leaving them.

Review Instructions
Find a failed CircleCI run that incorporates these changes and confirm that the stdout/stderr output is included with, and only with, the failures.

Issue
https://ucsc-cgl.atlassian.net/browse/SEAB-5247

Security
If there are any concerns that require extra attention from the security team, highlight them here.

Please make sure that you've checked the following before submitting your pull request. Thanks!

  • Check that you pass the basic style checks and unit tests by running ./mvnw clean install
  • If this PR is for a user-facing feature, create and link a documentation ticket for this feature (usually in the same milestone as the linked issue). Style points if you create a documentation PR directly and link that instead.

@codecov
Copy link
codecov bot commented Feb 14, 2023

Codecov Report

Base: 69.73% // Head: 69.37% // Decreases project coverage by -0.37% ⚠️

Coverage data is based on head (bacb8fb) compared to base (9dbf999).
Patch has no changes to coverable lines.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop     #224      +/-   ##
=============================================
- Coverage      69.73%   69.37%   -0.37%     
+ Complexity      1076     1046      -30     
=============================================
  Files             47       47              
  Lines           6050     6050              
  Branches         796      796              
=============================================
- Hits            4219     4197      -22     
- Misses          1510     1515       +5     
- Partials         321      338      +17     
Flag Coverage Δ
bitbuckettests 9.93% <ø> (ø)
confidentialtooltests 54.67% <ø> (-0.20%) ⬇️
confidentialworkflowtests 27.68% <ø> (-0.19%) ⬇️
nonconfidentialtests 32.34% <ø> (-0.12%) ⬇️
singularitytests 16.69% <ø> (ø)
unittests 8.38% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
.../src/main/java/io/dockstore/client/cli/Client.java 48.77% <0.00%> (-1.48%) ⬇️
...in/java/io/github/collaboratory/wdl/WDLClient.java 79.20% <0.00%> (-1.00%) ⬇️
...ckstore/client/cli/nested/AbstractEntryClient.java 74.36% <0.00%> (-0.69%) ⬇️
...ockstore/client/cli/nested/BaseLanguageClient.java 57.83% <0.00%> (-0.61%) ⬇️
...io/dockstore/client/cli/nested/WorkflowClient.java 71.08% <0.00%> (-0.46%) ⬇️
...in/java/io/github/collaboratory/cwl/CWLClient.java 80.07% <0.00%> (-0.36%) ⬇️
...ava/io/dockstore/client/cli/nested/ToolClient.java 72.38% <0.00%> (-0.27%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@svonworl svonworl self-assigned this Feb 14, 2023
@svonworl svonworl requested review from denis-yuen, coverbeck and fhembroff and removed request for denis-yuen February 14, 2023 21:30
Copy link
Member
@denis-yuen denis-yuen left a comment

Choose a reason for hiding this comment

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

which there are not, thanks!

@ExtendWith(SystemStubsExtension.class)
@ExtendWith(MuteForSuccessfulTests.class)
@ExtendWith(BaseIT.TestStatus.class)
Copy link
Member

Choose a reason f B7A2 or hiding this comment

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

BaseIT redundant here, but probably not worth fixing unless there are other issues

@svonworl svonworl merged commit 9c494a2 into develop Feb 16, 2023
@svonworl svonworl deleted the feature/seab-5247/add-muteForSuccessfulTests-extension-to-tests branch February 16, 2023 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0