-
-
Notifications
You must be signed in to change notification settings - Fork 683
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
Assertj multimodule build #2424
Comments
Moving OSGi integration tests to a separate artifact would also address #2347. |
Proposal for a first milestone:
|
I'd like to know that point 3. is 😄 but otherwise I like the MVP like approach. One thing I'd like the multimodule build to support is a selection of module to build,ex
We can achieve that with a shell script if we can't directly with maven. |
Point 3 is where the magic happens 🪄 😄 We can selectively build submodules, I guess a mixture of the following options can help tune our workflows (source):
Even better, I'd try to go with Maven profiles to enable the proper submodules easily. |
Is the submodule really needed? |
Done with the following steps:
|
Done. |
Proposal for the second milestone:
I introduced a general
|
looks good to me, so you would put |
Under |
Done with the following steps:
|
@joel-costigliola do we want to include also the assertion generators projects based on Maven? |
Not until we have a maintainer |
Summary
We tests assertj core with integration tests to validate junit 4, testng and osgi integration, this works but is more a workaround to simulate different environments.
A better solution consists in defining a multi module project where junit 4 and testng checks will be done in their own modules which are closer to real project using assertj.
Modules:
assertj-jodaGithub actions
We need to update our CI actions to build the multimodule project.
A commit in
main
should trigger all the modules build but the assertj core CI build should only reports errors when any of these modules build fail:The assertj core should not fail if an assertions module fails (ex: assertj-guava), this should be reported by the assertion module build itself.
The text was updated successfully, but these errors were encountered: