| # each scenario must start with this line |
| --- !scenario |
| # name of the scenario and message of the logged status |
| name : NoClassDefFoundError with NeedInfo tag |
| # exception and stacktrace for the status. |
| # ${pkg.project} will be replaced by the system property with the same name. |
| stackTrace : | |
| java.lang.NoClassDefFoundError: org/example/Foo |
| at ${pkg.project}.Main.main(Main.java:7) |
| # name of the logging plugin (contained in the status object) |
| loggingPlugin : ${pkg.project}.integration |
| #verification fields (only required for automated tests) |
| expectedMessage : | |
| This is a message. |
| May contain multiple lines |
| expectedStatus : NEEDINFO |
| expectedNeedInfos : |
| - first-tag |
| - second-tag |
| # begin of next scenario |
| --- !scenario |
| name : RuntimeException with nested NullPointerException |
| stackTrace : | |
| java.lang.RuntimeException: something was null |
| at ${pkg.project}.Main.main(Main.java:7) |
| caused by: java.lang.NullPointerException: null |
| at ${pkg.project}.TestClass.testMethod(TestClass.java:42) |
| loggingPlugin : ${pkg.project}.integration |
| expectedMessage : | |
| This is a message. |
| May contain multiple lines |
| expectedStatus : NEW |
| |