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

Inject classpath into test + use individual test projects #148

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

abhinayagarwal
Copy link
Collaborator

We no longer have to depend on a snapshot build of the plugin to run the tests. Instead the plugin is build and its entire classpath in injected into the test.

Fixes #147

assertEquals(TaskOutcome.SUCCESS, result.task(":run").getOutcome(), "Failed build!");
}

private List<File> pluginClasspath() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

You are reading it three times, while it could probably be done in one previous setup single step?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fixed

@sschuberth
Copy link

This PR has conflicts now that #151 was merged.

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.

Tests needs the snapshot/release version of the plugin to run
4 participants