Open
Description
Describe the bug
Currently, the engine will create a custom TestDescriptor
if the test suite initialization fails (ref). This descriptor will have a UniqueId
of form [engine:scalatest]/[failed:<SUITE_NAME>]
. However, the engine does not support the suite discovery based on this ID. This limits the ways to interact with the engine, since the consumer can use the discovery result to further limit the tests to be executed and then pass a smaller set of UniqueIdDescriptor
s to execute
method.
To Reproduce
This branch has a test that shows the empty discovery result if the UniqueId
of this synthetic TestDescriptor
is used as input.
Expected behavior
The engine detects that its synthetic descriptor is used and returns a valid discovery result.
Metadata
Metadata
Assignees
Labels
No labels