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

SHRINKRES-277 Upgraded to maven-invoker 3.0.0 #122

Closed
wants to merge 3 commits into from

Conversation

MatousJobanek
Copy link
Contributor

No description provided.

assertEquals(userSettingFile, invocationRequest.getUserSettingsFile());
assertEquals(true, invocationRequest.isActivatedReactor());
assertEquals(builderId, invocationRequest.getBuilder());
Copy link
Contributor

Choose a reason for hiding this comment

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

One handy tip here would be to use assertj with its soft-assertions. This way you would have a chance to gather all the failed conditions in one test execution rather than discovering them one after the other.

Copy link
Contributor

Choose a reason for hiding this comment

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

Also maybe worth to split this test to multiple ones if we test more than one aspect of the build here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

soft assertions make more sense...

@@ -14,7 +14,6 @@
<description>Implementation for running Maven builds and retrieving information and archives from the built project</description>

<properties>
<version.maven.invoker>2.2</version.maven.invoker>
Copy link
Contributor

Choose a reason for hiding this comment

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

We could update spacelift too ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

will apply on all properties - will be part of next commit

Copy link
Contributor Author

Choose a reason for hiding this comment

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

next commit - not part of this PR

@bartoszmajsak
Copy link
Contributor

Any idea why the build is failing?

@MatousJobanek
Copy link
Contributor Author

nope, no idea

@MatousJobanek
Copy link
Contributor Author

Thx for review @bartoszmajsak
Landed in c516230

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.

2 participants