Skip to content
This repository has been archived by the owner on Nov 5, 2022. It is now read-only.

Interceptor anchors for testing #106

Closed
sparshev opened this issue Mar 11, 2020 · 2 comments
Closed

Interceptor anchors for testing #106

sparshev opened this issue Mar 11, 2020 · 2 comments

Comments

@sparshev
Copy link
Contributor

sparshev commented Mar 11, 2020

During testing of the shared libraries it's really useful to be able to intercept the calls.

Reason:

All the current implementations of the Jenkins Shared Libraries unit tests are quite useless - there are a number of issues impossible to test outside of actual workflow-cps-plugin. We have the next issue about that: JENKINS-33925.

@sparshev
Copy link
Contributor Author

Added a sample realization #107 for Invoker.methodCall. That will be great, if someone can check - how this will work for the groovy-cps project and if this is the right way - to discuss it further.

@dwnusbaum
Copy link
Member

Closing, follow JENKINS-33925 instead.

@dwnusbaum dwnusbaum closed this as not planned Won't fix, can't repro, duplicate, stale Nov 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants