Kluent icon indicating copy to clipboard operation
Kluent copied to clipboard

Fluent Assertion-Library for Kotlin

Results 22 Kluent issues
Sort by recently updated
recently updated
newest added

**Description** Added `shouldContainNone` and `shouldNotContainAny` with a check lambda similar to, but opposite of the existing `shouldContainAny(check: (T) -> Boolean)`. These two infix functions do the same thing. Please let...

The latest release (1.68) on mvnrepository (https://mvnrepository.com/artifact/org.amshove.kluent/kluent/1.68) uses a junit release with a vulnerabilities. it would be nice to have a new update with updated, not (yet) vulnerable dependencies

**Description** Expected and actual values were swapped by mistake for `shouldBeEqualTo` and `shouldNotBeEqualTo` for `ByteArray`s. Now the expected value is passed as the first param to `assertArrayEquals`. **Checklist** - [x]...

Description This updates the junit dependency, which contains vulnerability CVE-2020-15250. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15250

Description The AssertionError given when asserting an Integer and a String of the same Integer is not intuitive enough as the error message contains the same value for both expected...

here is a real-life scenario that made me very confused ``` listOf(1, 2, "fizz", 4, "buzz") shouldEqual listOf(1, 2, "fizz", 4, "buzz") //ok listOf(1, 2, "fizz", 4, "buzz") shouldEqual listOf("1",...

Would it be possible to allow for a type major.minor.patch version strategy on this library? The 1.65 version seemed to break use of any() in tests. If possible could you...

Hi Markus! I'm trying to do this: ```kotlin @Test fun `assert throws exceptions`() { invoking { factory.create("") } `should throw` IllegalArgumentException::class } ``` But have a compile error: ``` org/junit/ComparisonFailure...

Hie, Is there support for the following ``` doNothing().whenever(mock).functionCall() ```

# Actual situation When a `should throw the exception` fails, the message states: ``` Expected foo.bar.TheExpectedException to be thrown expected: but was: ``` Then I can see the stack trace...

2.0