atrium
atrium copied to clipboard
A multiplatform expectation library for Kotlin
______________________________________ I confirm that I have read the [Contributor Agreements v1.0](https://github.com/robstoll/atrium/blob/main/.github/Contributor%20Agreements%20v1.0.txt), agree to be bound on them and confirm that my contribution is compliant.
*Platform* (all, jvm, js, android): all *Extension* (none, kotlin 1.3): none ## Code related feature We also want to provide samples for the infix api Following the things you need...
In #714, we found that it makes sense to talk about ‘expectations’ instead of ‘assertions’. Hence, we want to refactor the whole code base to reflect that naming.
*Platform* (all, jvm, js): all *Extension* (none, kotlin 1.3): none ## Code related feature ``` expect((1..100).toList()).notToContain.entry { toBeGreaterThan(2) } ``` The output will show all elements from 3 to 100...
*Platform* (all, jvm, js): all *Extension* (none, kotlin 1.3): none ## Code related feature ``` expect((1..100).toList()).toContainExactly(1,2,3) ``` The output will show all additional elements from 4 to 100 which is...
This project’s build logic is, to put it mildly, involved. I think it could be improved upon. I have two major criticisms: * The build logic relies a lot on...
*Platform* (all, jvm, js): all *Extension* (none, kotlin 1.3): none ## Code related feature Consider the following reporting ``` expected that subject: {a=null, null=1, b=2} (java.util.LinkedHashMap ) ◆ contains only,...
*Platform* (jvm, js, android): all *Extension* (none, kotlin 1.3, jdk8): none ## Code related feature ``` expect(1).toBe(12) ``` The current output: ``` expect: 1 (kotlin.Int ) ◆ to be: 12...
*Platform* (jvm, js, android): all *Extension* (none, kotlin 1.3, jdk8): none ## Code related feature Based on the discussion in https://github.com/robstoll/atrium-roadmap/issues/55 To emphasise that we only report failed assertions per...
*Platform* (all, jvm, js, android): scala *Extension* (none, kotlin 1.3): none ## Code related feature some code is already committed but we have not yet created an artifact so far....