Open
Description
Motivation
As a software developer writing automated tests, I would like additional functionality with the .serialized
trait to have more control over test behaviour and so I can group all things related to the .serialized
trait together.
When applying the .serialized
trait to a Suite, I would the ability to:
- add a comment
- reference an issue
- conditionalize the serialization
The addition of a comment offers context as to why it was added.
The addition of a bug allows tracking the temporary test suite serialization
The condition would allow parallel execution on some platform, but not others, where it's known to have problematic issues.
Proposed solution
I would like to write something as follows
@Suite(
.serialized(
"Currently unable to run in parallel until referenced defect is fixed",
.bug(id: 1),
)
) struct {}
@Suite(
.serialized(if: isLinux())
) struct {}
@Suite(
.serialized("The tools under test may be corrupting it's shared state")
) struct { }
Alternatives considered
No response
Additional information
No response