Details
-
Improvement
-
Resolution: Unresolved
-
Neutral
-
None
-
None
-
None
Description
Currently disabled tests that are annotated with @LightModule still set up and tear down the light module fixture. This can lead to test failures on disabled tests should the light module definition fail. It also unnecessarily prolongs test execution.
If possible we should improve the annotation processor such that it skips setting up the light module for tests that do not run.
Notes for discovery:
- @LightModule and @Disabled can both be used on method and class level. We need a better understanding on how they interact with each other. E.g. if @LightModule is set on class level will it still execute for individual methods that have @Disabled set?
- Instead of complicating the code backing @LightModule, could it be less effort to align usages of these to annotations (e.g. in ResourcesFunctionalTests).
Checklists
Acceptance criteria
Attachments
Issue Links
- relates to
-
MGNLTEST-428 CE 6.2 and 6.3 pipelines unstable due to light-module setup failures
-
- Closed
-