-
Notifications
You must be signed in to change notification settings - Fork 131
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
RealJenkinsRule.addSyntheticPlugin
#659
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Looks good, why is it still in draft? |
Because I never actually had a use case for it—the proprietary change for which I had planned to use it turned out to be testable by just injecting an extension loaded from the test class loader. (In that case |
I now have a definite use case for this utility in a proprietary plugin: a case where I need for the test to run a mock |
src/test/java/org/jvnet/hudson/test/RealJenkinsRuleSyntheticPluginTest.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Vincent Latombe <vincent@latombe.net>
Fixes #623.
Unfortunately I have hit a roadblock: even whenRoundEnvironment.processingOver
,*.class
files for sources have not yet been written to disk, so it is impossible to pack them into the plugin archive.