Skip to content

Commit

Permalink
Document jenkinsci#359
Browse files Browse the repository at this point in the history
  • Loading branch information
basil committed Nov 19, 2022
1 parent 44b64bc commit 311499c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/org/jvnet/hudson/test/RealJenkinsRule.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
import jenkins.util.Timer;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.IOUtils;
import org.junit.Assume;
import org.junit.rules.DisableOnDebug;
import org.junit.rules.TestRule;
import org.junit.rules.Timeout;
Expand Down Expand Up @@ -128,6 +129,7 @@
* <li>Remote thunks must be serializable. If they need data from the test JVM, you will need to create a {@code static} nested class to package that.
* <li>{@code static} state cannot be shared between the top-level test code and test bodies (though the compiler will not catch this mistake).
* <li>When using a snapshot dep on Jenkins core, you must build {@code jenkins.war} to test core changes (there is no “compile-on-save” support for this).
* <li>{@link Assume} is not available.
* <li>{@link TestExtension} is not available.
* <li>{@link LoggerRule} is not available, however additional loggers can be configured via {@link #withLogger(Class, Level)}}.
* <li>{@link BuildWatcher} is not available.
Expand Down

0 comments on commit 311499c

Please sign in to comment.