In general, if you use Mockito in Jenkins tests, you should expect to be
forced to edit existing test suites after even compatible changes to core
or plugin dependencies. It is safer to divide test code into true unit
tests (no mocking framework) plus proper integration tests with
`JenkinsRule` or one of its variants.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr1%2B9FKeeaP1LmyaFt%3DL%2BijdNOEjS0Yp3SdMMyUujXLM6w%40mail.gmail.com.

Reply via email to