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

Adapt plugin implementation for rapid testing without publishing locally #8

Open
thebhumilsoni opened this issue Aug 2, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@thebhumilsoni
Copy link
Contributor

💬 Context

Currently, in order to test changes to the test-collector-plugin, the plugin must be published to the local maven repository using ./gradlew publishToMavenLocal or reference the latest published snapshot. This is very inefficient, as the command must be performed in order to test even a minor modification. Since the CI platforms have no maven repository server where we may publish the SDK prior to building the project, the CI workflows will fail if the added dependency to access the plugin published in maven local is not commented out or deleted.

Also, unlike the instrumented-test-collector library, where the library module can be added as a project dependency, i.e. implementation(project("collector:instrumented-test-collector")), the plugin module cannot be directly referenced. Hence, the implementation of the plugin should be adapted in order to make it easily testable without publishing it locally.

📝 Notes

🤝 Related

@thebhumilsoni thebhumilsoni added the enhancement New feature or request label Aug 2, 2022
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

1 participant