Skip to content

Refactor integration tests #142

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

Merged
merged 5 commits into from
Mar 25, 2025
Merged

Refactor integration tests #142

merged 5 commits into from
Mar 25, 2025

Conversation

lcian
Copy link
Member

@lcian lcian commented Mar 21, 2025

📜 Description

Refactors the integration tests to have a uniform structure (package for the goal they test + dedicated PomUtils) and updates the Makefile with a command to run them.

#skip-changelog

@lcian lcian changed the title Fix integration tests Refactor and fix integration tests Mar 21, 2025
Comment on lines +187 to +198
<execution>
<id>make-cli-executable</id>
<phase>process-resources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<chmod file="${project.build.outputDirectory}/bin/**" perm="755"/>
</target>
</configuration>
</execution>
Copy link
Member Author

@lcian lcian Mar 21, 2025

Choose a reason for hiding this comment

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

When copied to target the binaries were not set as executable, causing the tests to fail on my machine.
This did not happen everytime, I guess it was dependent on the order of maven commands you run.
Regardless, this fixes it.

@lcian lcian mentioned this pull request Mar 21, 2025
4 tasks
@lcian lcian changed the title Refactor and fix integration tests Refactor integration tests Mar 24, 2025
@lcian lcian marked this pull request as ready for review March 24, 2025 15:54
@lcian lcian requested a review from lbloder March 24, 2025 15:55
Copy link
Member

@markushi markushi left a comment

Choose a reason for hiding this comment

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

Nice one, LGTM!

Copy link
Collaborator

@lbloder lbloder left a comment

Choose a reason for hiding this comment

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

Good Work, LGTM 👍

@lcian lcian merged commit b137b3e into main Mar 25, 2025
8 checks passed
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