By coincidence, earlier today I posted [Pitch] Issue Handling Traits. Reviewing your use case here, it's possible you may be able to combine that feature with ST-0007: Test Scoping Traits and achieve the goal you're looking for.
I'd encourage you to have a look at proposal and chime in on the pitch thread to say whether or not you think it could help!