You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So far, we have suggested that users use support for this in their test library, such as JUnit's assertThrows or kotlin.tests's assertFailsWith. It's a good point that we should write that down somewhere. There may be test libraries that don't have an equivalent, though. And we do have some ideas for how Truth could improve upon those. Still, so far, it hasn't been clearly worthwhile enough for us to provide our own version. You can follow along on #621 (and share any other thoughts of your own), and I'll see about finally at least documenting this. Thanks for raising it.
Hi team,
I didn't find how to assert exception in Truth, where can I find the doc or it doesn't support.
The text was updated successfully, but these errors were encountered: