Skip to content

Logging

Damian Serwin edited this page Aug 10, 2020 · 1 revision

Plugins

For providing better writing and debugging test experience couple of additional plugins could be added to tests.

Logging

Add cyclone-slf4j dependency.

<dependency>
    <groupId>org.cempaka.cyclone</groupId>
    <artifactId>cyclone-slf4j</artifactId>
    <version>${cyclone.version}</version>
</dependency>

Use the slf4j logger inside your tests.

private final static Logger LOG = LoggerFactory.getLogger(HttpClientTest.class);
LOG.info("My log message");

View the logs on the test execution detail page.

Clone this wiki locally