# \[AdaCL\] Improved Asserts for AUnit

**URL:** https://forum.ada-lang.io/t/adacl-improved-asserts-for-aunit/1565
**Category:** Releases
**Tags:** tests, ada, alire
**Created:** [December 9, 2024, 5:30pm UTC](https://forum.ada-lang.io/t/adacl-improved-asserts-for-aunit/1565 "2024-12-09T17:30:55Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![krischik](https://forum.ada-lang.io/user_avatar/forum.ada-lang.io/krischik/32/420_2.png) [@krischik](https://forum.ada-lang.io/u/krischik)
#### Post date: [December 9, 2024, 5:30pm UTC](https://forum.ada-lang.io/t/adacl-improved-asserts-for-aunit/1565/1 "2024-12-09T17:30:55Z")

</div>

The standard assertions which come with AUnit can only check for boolean for true and false which results in rather boring error messages like:

```log
FAIL Tests : Test_01 : simple calculation
    value
    at tests.adb:49

```

With version 6.0.0 of [AdaCL](https://adacl.sourceforge.net/) I have added new improved assertions which will give you more informative error messages:

```log
FAIL Tests : Test_01 : simple calculation
    Discrete_Type «value» 1 is not equal to 2
    at tests.adb:49

```

For more details see: [AdaCL.Asserts](https://adacl.sourceforge.net/adacl-assert/) and download with [Alire](https://alire.ada.dev/crates/adacl).

---

<div class="post-metadata">

### Author: ![Irvise](https://forum.ada-lang.io/letter_avatar_proxy/v4/letter/i/7ba0ec/32.png) [@Irvise](https://forum.ada-lang.io/u/Irvise)
#### Post date: [December 9, 2024, 9:42pm UTC](https://forum.ada-lang.io/t/adacl-improved-asserts-for-aunit/1565/2 "2024-12-09T21:42:42Z")

</div>

Hey,

welcome to the forums Martin ^^ Thanks for the update 🙂

Best,  
Fer
