Hi Ryan,
I think you can just say fail("reason...") wherever you want to escape.
Bill
--
You received this message because you are subscribed to the Google
Groups "scalatest-users" group.
To post to this group, send email to scalate...@googlegroups.com
To unsubscribe from this group, send email to
scalatest-use...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/scalatest-users?hl=en
ScalaTest itself, and documentation, is available here:
http://www.artima.com/scalatest
---
You received this message because you are subscribed to the Google Groups "scalatest-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scalatest-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks for the ideas Bill.I will use an error for now... the nice thing about a dedicated TestEscapedException is that it could extend TestFailedException and still be reported as a regular test failure by the test runner.
To post to this group, send email to scalatest-users@googlegroups.com
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/scalatest-users?hl=en
ScalaTest itself, and documentation, is available here:
http://www.artima.com/scalatest
---
You received this message because you are subscribed to the Google Groups "scalatest-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scalatest-users+unsubscribe@googlegroups.com.
Hi,
You can catch the specific exception inside the eventually block and
throw it away. That will cause the eventually block to succeed.
Bill
On Thu, Mar 28, 2019 at 7:56 AM andrea.bisello via scalatest-users
<scalate...@googlegroups.com> wrote:
>
> Hi,
> there is some new to make a eventually to programmatically quit before timeout?
> my use case is
>
> "wait until a process ends, but if the process say "ERROR", you can end to wait and go forward".
>
> i tried the "throw new Error" solution, but this ends the entire scalatest suite.
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google
> Groups "scalatest-users" group.
> To post to this group, send email to scalate...@googlegroups.com
> To unsubscribe from this group, send email to
> For more options, visit this group at
> http://groups.google.com/group/scalatest-users?hl=en
> ScalaTest itself, and documentation, is available here:
> http://www.artima.com/scalatest
> ---
> You received this message because you are subscribed to the Google Groups "scalatest-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to scalate...@googlegroups.com.