scalatest / scalatestplus-junit5

Apache License 2.0
5 stars 4 forks source link

Wait for tests to finish before continuing #15

Closed samwright closed 4 months ago

samwright commented 6 months ago

This fixes an issue where the results are ignored when running an asynchronous test class (e.g. with AsyncFlatSpec). For them, calling suiteToRun.run returns quickly, but the tests are only complete (with the relevant test events handled) once the returned status has become "complete".

cheeseng commented 4 months ago

@samwright Looks good, thanks for catching it! @bvenners do you mind to review it for approval?

Thanks.