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

NO ISSUE: Migrate impact analysis to JUnit5 #6079

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

pibizza
Copy link
Contributor

@pibizza pibizza commented Sep 11, 2024

  • migrated impact analysis to JUnit5
  • some good use of paramerized tests.
How to replicate CI configuration locally?

Build Chain tool does "simple" maven build(s), the builds are just Maven commands, but because the repositories relates and depends on each other and any change in API or class method could affect several of those repositories there is a need to use build-chain tool to handle cross repository builds and be sure that we always use latest version of the code for each repository.

build-chain tool is a build tool which can be used on command line locally or in Github Actions workflow(s), in case you need to change multiple repositories and send multiple dependent pull requests related with a change you can easily reproduce the same build by executing it on Github hosted environment or locally in your development environment. See local execution details to get more information about it.

How to retest this PR or trigger a specific build:
  • for pull request and downstream checks

    • Push a new commit to the PR. An empty commit would be enough.
  • for a full downstream build

    • for github actions job: add the label run_fdb
  • for Jenkins PR check only

Copy link
Contributor

@tkobayas tkobayas left a comment

Choose a reason for hiding this comment

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

Thanks!

@gitgabrio
Copy link
Contributor

HI @pibizza
Do you think it would be possible to start introducing the enforcer also here ? My idea is that while progressively migrate the assertions, it would be usefull to avoid their re-introduction in the "sanitized" module: wdyt ?

@pibizza
Copy link
Contributor Author

pibizza commented Sep 11, 2024

@gitgabrio I would probably try to add it as a global check, once we have migrated everything.

@gitgabrio
Copy link
Contributor

gitgabrio commented Sep 11, 2024

Yup. My concern is that, since this will take some time (not sure, TBH), while you fix other modules, the ones already fixed could be accidentally "broken" again (as already happened, at least inside DMN). Anyway, your call...

@pibizza pibizza merged commit 1838704 into apache:main Sep 11, 2024
10 checks passed
@pibizza pibizza deleted the junit5-migrate-impact-analysis branch September 11, 2024 10: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.

3 participants