Skip to content

failsafe:integration-test from contextual menu#3470

Merged
matthiasblaesing merged 1 commit into
apache:masterfrom
abourree:feature/failsafe_integration-test
Jan 23, 2022
Merged

failsafe:integration-test from contextual menu#3470
matthiasblaesing merged 1 commit into
apache:masterfrom
abourree:feature/failsafe_integration-test

Conversation

@abourree

Copy link
Copy Markdown
Contributor

When editing JUnit class of integration test, I expect "Test File", "Debug Test File", "Run Focused Test Method" or "Debug Focused Test Method" to run "integration-test.single" or "debug.integration-test.single" actions instead of "test.single" or "debug.test.single".

The goal of this feature is to run integration test during integration-test phase and so after pre-integration-test.

@mbien mbien added Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) Maven [ci] enable "build tools" tests labels Jan 17, 2022
@mbien mbien added this to the NB14 milestone Jan 18, 2022

@matthiasblaesing matthiasblaesing left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you - looks sane to me. Please fix the minimal nitpick I found.

if (ActionProviderImpl.COMMAND_INTEGRATION_TEST_SINGLE.equals(action) ||
ActionProviderImpl.COMMAND_DEBUG_INTEGRATION_TEST_SINGLE.equals(action) ||
"profile-tests".equals(action))
{ //NOI18N - profile-tests is not really nice but well.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please move the NOI18N onto the line where the string is located (one line up). Else it is not connected to that string. (Yes I know that there other locations in that file, that are missing NOI18N markers or have them on the next line, but ...)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@abourree I saw the updated commit - would you mind squashing the to commits into one?

@abourree abourree force-pushed the feature/failsafe_integration-test branch from 36fa5cc to cb792fc Compare January 22, 2022 16:43
@abourree

Copy link
Copy Markdown
Contributor Author

Sorry, I try to squash commits, but look not working

@abourree abourree force-pushed the feature/failsafe_integration-test branch from 2624a25 to 15a98c1 Compare January 22, 2022 18:49
@matthiasblaesing

Copy link
Copy Markdown
Contributor

@abourree seems you managed to do it, thank you :-) - I activated the test runs and if they run clean, I'll merge. I assume you read the license statement at the top of the file and understood, that you donate your changeset to the ASF.

@matthiasblaesing matthiasblaesing merged commit 75b32e0 into apache:master Jan 23, 2022
@abourree abourree deleted the feature/failsafe_integration-test branch January 23, 2022 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) Maven [ci] enable "build tools" tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants