# What assertions library do you use?

**URL:** <https://discuss.kotlinlang.org/t/what-assertions-library-do-you-use/1809>\
**Category:** Libraries\
**Created:** [June 17, 2016, 10:43am UTC](https://discuss.kotlinlang.org/t/what-assertions-library-do-you-use/1809 "2016-06-17T10:43:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![medium](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/medium/32/10404_2.png) [@medium](https://discuss.kotlinlang.org/u/medium)\
**Post date:** [June 17, 2016, 10:43am UTC](https://discuss.kotlinlang.org/t/what-assertions-library-do-you-use/1809/1 "2016-06-17T10:43:16Z")

</div>

What library do you use to perform assertions in tests? I mean something like:

- [Hamcrest](http://hamcrest.org/)
- [AssertJ](http://joel-costigliola.github.io/assertj/)
- [KotlinTest Matchers](https://github.com/kotlintest/kotlintest#matchers)
- [expect.kt](https://yobriefca.se/expect.kt/)
- [Kluent](https://github.com/MarkusAmshove/Kluent)
- [expekt](https://github.com/winterbe/expekt)

---

<div class="post-metadata">

**Author:** ![Dittert](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/dittert/32/1736_2.png) [@Dittert](https://discuss.kotlinlang.org/u/Dittert)\
**Post date:** [June 21, 2016, 10:34am UTC](https://discuss.kotlinlang.org/t/what-assertions-library-do-you-use/1809/2 "2016-06-21T10:34:51Z")

</div>

[Hamkrest](https://github.com/npryce/hamkrest)

---

<div class="post-metadata">

**Author:** ![mfulton26](https://avatars.discourse-cdn.com/v4/letter/m/b9e5f3/32.png) [@mfulton26](https://discuss.kotlinlang.org/u/mfulton26)\
**Post date:** [July 1, 2016, 1:44pm UTC](https://discuss.kotlinlang.org/t/what-assertions-library-do-you-use/1809/3 "2016-07-01T13:44:52Z")

</div>

[`kotlin-test`](https://github.com/JetBrains/kotlin/tree/ee50aec7342ab375a105bb318e6501135e859028/libraries/kotlin.test)
