Generate Warning
Check report/import-and-dependencies Import And Dependencies for prerequisites. Use warning core method to mark something that needs to be looked at eventually. Groovy warning("warning message") warning("warning message with map", [k1: "v1", k2: "v2"]) warning("another warning message", "k3", "v3", "k4", "v4") Java warning("warning message"); warning("warning message with map", map("k1", "v1", "k2", "v2")); warning("another warning message", "k3", "v3", "k4", "v4"); Let's take a look at the full test file example to see how warnings gets displayed Groovy import static org.testingisdocumenting.webtau.WebTauGroovyDsl.* scenario('warning label') { // warning-label warning("warning message") // warning-label } scenario('warning key values') { // warning-map warning("warning message with map", [k1: "v1", k2: "v2"]) // warning-map // warning-vararg warning("another warning message", "k3", "v3", "k4", "v4") // warning-vararg } scenario warning label (warning.groovy) [warning] warning message [.] warning label (warning.groovy) scenario warning key values (warning.groovy) [warning] warning message with map k1: "v1" k2: "v2" [warning] another warning message k3: "v3" k4: "v4" Java import org.junit.jupiter.api.Test; import org.testingisdocumenting.webtau.junit5.WebTau; import static org.testingisdocumenting.webtau.WebTauDsl.*; @WebTau public class WarningJavaTest { @Test public void warningLabel() { // warning-label warning("warning message"); // warning-label } @Test public void warningKeyValues() { // warning-map warning("warning message with map", map("k1", "v1", "k2", "v2")); // warning-map // warning-vararg warning("another warning message", "k3", "v3", "k4", "v4"); // warning-vararg } } scenario warningLabel (WarningJavaTest) [warning] warning message [.] warningLabel (WarningJavaTest) scenario warningKeyValues (WarningJavaTest) [warning] warning message with map k1: "v1" k2: "v2" [warning] another warning message k3: "v3" k4: "v4"