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

Introduce automated tests for the Gradle and Maven plugins #48

Closed
sbrannen opened this issue Jun 15, 2021 · 3 comments
Closed

Introduce automated tests for the Gradle and Maven plugins #48

sbrannen opened this issue Jun 15, 2021 · 3 comments
Labels
enhancement New feature or request
Milestone

Comments

@sbrannen
Copy link
Collaborator

In order to avoid bugs such as #44, the native build tools project should introduce automated tests for the Gradle and Maven plugins.

This can be achieved in various ways.

For Gradle, one option may be to use the Gradle TestKit.

Another option is the approach taken by the JUnit team in the platform-tooling-support-tests project, where individual demo projects are tested in isolation.

@lazar-mitrovic
Copy link
Collaborator

Another option is the approach taken by the JUnit team in the platform-tooling-support-tests project, where individual demo projects are tested in isolation.

We are already doing a similar thing here, so easiest fix might be to populate examples directory with multiple examples for each supported build tool.

@sbrannen
Copy link
Collaborator Author

We are already doing a similar thing here, so easiest fix might be to populate examples directory with multiple examples for each supported build tool.

Does that actually perform some form of verification of the results (assertions, etc.)? If so, what is the error reporting like?

Or does it just run something and hope there's no bad exit code of the executed command?

@lazar-mitrovic lazar-mitrovic added the enhancement New feature or request label Jun 30, 2021
@lazar-mitrovic
Copy link
Collaborator

Fixed by #87

@sbrannen sbrannen added this to the 0.9.2 milestone Jul 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants