Replies: 2 comments 2 replies
-
I find it regrettable that this question got no attention for almost 14 months. FYI, there is a related question on Stack Overflow, even with a bounty, and nobody (including me) seems to know an answer to this arguably valid use case. In a nutshell: Use This discussion could in the end e.g. lead to an additional parameter for In Spock this can be configured, AFAIR. It would be nice to also have it in Jupiter. @marcphilipp, you know both tools and might want to say something about it. I apologise for naming you directly, but I would like this issue to gain some traction. |
Beta Was this translation helpful? Give feedback.
-
I know that there is a template for a feature request. But I searched first and found no issue, only this discussion. I thought it more prudent to continue the discussion first to find out if
Then, there is still the "Reference in new issue" menu option here to evolve this exchange into an actual issue. I thought, if nobody responded to this inquiry in such a long time, maybe the same would happen to a feature request if not properly prepared.
Like I said, AFAIR. I have not had this scenario in a while, so I misremembered and both @mpkorstanje and @marcphilipp are right. Thanks for the correction, forcing me to refresh my imperfect memory. In my older projects, I solved this kind of problem via workarounds like splitting classes or running different suites separately. My bad, I should have checked first, but merely typed on my smartphone while riding a train yesterday. The Spock manual documents the actual situation here (more explicitly than the The original problem statement might be a bit fuzzy, but yesterday I added some context, which is hopefully enough, especially if you also follow the Stack Overflow link where the author explains what he wants to achieve. |
Beta Was this translation helpful? Give feedback.
-
When running with these settings:
Is there a way to selectively isolate classes from each other while running all the tests in one class concurrently?
That is, given the following two test classes and methods:
I'd like to be able to get the following interleaving, but only for these two classes. I'd like all other classes to be able to execute concurrently with each other.
I tried annotating the classes with
@ResourceLock
and@Isolated
, but those seem to propagate to each individual test method and causes the tests within each classes to serialize with respect to each other.Beta Was this translation helpful? Give feedback.
All reactions