File tree Expand file tree Collapse file tree 2 files changed +3
-11
lines changed
modules/jooby-test/src/main/java/io/jooby/test Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -345,13 +345,7 @@ Simple and easy {love}!
345345
346346The javadoc:JoobyTest[] takes care of start and stop the application.
347347
348- Adding the annotation at class-level starts a single application before running tests and stop it
349- after all them. The default port at class level is: `8911`.
350-
351- Adding the annotation at method-level starts an application before running the test and stop it
352- once it finish. The default port at method level is `random`.
353-
354- Default application port can be configured directly using the javadoc:JoobyTest[port] method:
348+ The default port is: `8911`. Application port can be configured directly using the javadoc:JoobyTest[port] method:
355349
356350`@JoobyTest(value = App.class, port = 9999)`
357351
Original file line number Diff line number Diff line change 113113 String environment () default "test" ;
114114
115115 /**
116- * Server port. At class level default port is <code>8911</code>. At method level default port is
117- * random.
116+ * Server port. The default port is <code>8911</code>. Use <code>0</code> for random port.
118117 *
119- * @return Server port. At class level default port is <code>8911</code>. At method level default
120- * port is random.
118+ * @return Server port. The default port is <code>8911</code>.
121119 */
122120 int port () default -1 ;
123121
You can’t perform that action at this time.
0 commit comments