On Tue, Jun 17, 2025 at 10:57 AM Radek Antoniuk <radek.anton...@gmail.com>
wrote:

> proper integration tests with `JenkinsRule` or one of its variants.
>
>
> By the variants you mean @WithJenkins @WithoutJenkins, right?
>

I actually meant `JenkinsSessionRule` and `RealJenkinsRule`. `@WithJenkins`
is I guess the JUnit 5 version of `JenkinsRule`. `@WithoutJenkins` just
turns off `JenkinsRule` for one test method; arguably clearer to use
`JenkinsSessionRule`, in which case some methods may simply decline to
start Jenkins even once.

-- 
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 jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr2%3D%2BkSy1SZZP8kMOuuUNm5hubRT7CgPZFLZRfZ5PyfKog%40mail.gmail.com.

Reply via email to