-
Task
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
-
False
-
-
False
-
subs-swatch-lightning
-
-
When running a component test that have many tests, I want the logs to be grouped/printed by each test.
For example, the test MyComponentTest has the following two methods:
- whenXThenY()
- whenZThenV()
When running these methods in IntelliJ, I would expect that:
- In MyComponentTest (all logs), see the start up of the SWATCH service and the rest of the logs that are enabled (all the services).
- in whenXThenY, only the logs that happen during the test execution of this test
- in whenZThenV, only the logs that happen during the test execution of this test
Then, if whenZThenV fails, I do want
Acceptance Criteria
- In the component tests class, see ALL the logs that are enabled
- In each test, only the logs that happened during the test execution
- In the failed tests, have <TEST NAME>.log at target/<CLASS NAME> with only the logs during the test execution.
- Ensure that the logs are correctly printed in report portal too.