reportportal / agent-java-junit

Report Portal agent for JUnit 4
Apache License 2.0
11 stars 17 forks source link

Display logs for @BeforeAll #27

Closed sergeidyga-epam closed 5 years ago

sergeidyga-epam commented 5 years ago

No logs (we use log4j2 + JUnit5) related to @BeforeAll method or initialisation are available in ReportPortal UI.

If failure occurred in @BeforeAll (or earlier) - there is no chance to figure it out when evaluating Launches in ReportPortal UI

sbabcoc commented 5 years ago

@sergeidyga-epam This agent is specifically for JUnit 4, which doesn't define a @BeforeAll annotation. How is this scenario handled by https://github.com/reportportal/agent-java-junit5

On this topic. we should probably add the java tag to the agent-java-junit5 project.

DzmitryHumianiuk commented 5 years ago

@sergeidyga-epam can you switch to junit5?

DzmitryHumianiuk commented 5 years ago

@sbabcoc

On this topic. we should probably add the java tag to the agent-java-junit5 project.

or rename this into agent-java-junit4 or place both junit5 and juni4 in one repo, but separate folders

DzmitryHumianiuk commented 5 years ago

Resolution:

closed, since related to jUnit5