google / google/truth

Include `assertThrows` into core api

Open
#621 7 comments 5 reactions 0 assignees View on GitHub
P3 type=addition
Dominant language
Java
Stars
2.8k
Forks
275
Avg merge
7m
Merged PRs (30d)
4

Description

We'd like to use this code https://github.com/aosp-mirror/platform_frameworks_support/commit/bf04c31bd91bc6188abef45f7d9c1fa4040e5633#diff-46afb720089a0149afb46f71274f5642 from our Kotlin tests, can you please include it into Truth?

We could just add it to one of our internal libraries and use it. However, seeing as this code is being duplicated on many repos on GitHub: https://github.com/search?l=Kotlin&p=2&q=ThrowableSubject&type=Code, it might make sense to include it in Truth.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.