-
This can be a two step approach.
Spock has `spock.util.matcher.HamcrestSupport` so the basic approach would be to replace the `assertThat` invocations with
the `that()` (in `expect`-blocks) or `ex…
-
#### Feature summary
Provide `isInstanceOfAny`, `isNotInstanceOfAny` variants for `hasCauseInstanceOf`, `hasCauseExactlyInstanceOf`, `hasRootCauseInstanceOf`, `hasRootCauseExactlyInstanceOf` ... thro…
-
With the latest version of Clockwork and PhpUnit 10, when I try to collect data from a test, I get:
`Fatal error: Cannot override final method PHPUnit\Framework\Assert::assertThat() in vendor/itsgo…
-
## Context
According to the JavaDocs `SortedSet#intersect` should always return members from **_this_**:
https://eclipse.dev/collections/javadoc/11.1.0/org/eclipse/collections/api/set/sorted/Immut…
-
The following test will throw an exception:
```java
public static class TemporalAdjusterImpl implements TemporalAdjuster {
private final String value;
public TemporalAdjusterImpl(String …
-
### CI Link
https://gradle-enterprise.elastic.co/s/izwjgujxyo3gk
### Repro line
./gradlew ":server:test" --tests "org.elasticsearch.script.StatsSummaryTests.testEqualsAndHashCode" -Dtests.seed=47AD…
-
Hello,
I'm having an issue making AssertThat work for me. I want to force the user to select a test result outcome from when PregnancyTestRequired = true - however it seems to ignore it and conti…
rct40 updated
4 years ago
-
I have stared at this way too long, so I'm hoping you can shed some light on why this condition is failing when it should not be. I'm using CompareOrdinalIgnoreCase because the values come from a dat…
-
#### Summary
We recently upgraded from AssertJ 3.8.0 to 3.22.0 and we noticed significant slow down in tests using _SoftAssertions#assertThat_.
I look into it and found that AssertJ switched from cg…
-
In step 6 `org.junit.Assert.assertThat` is used while in step 7 `com.google.common.truth.Truth.assertThat` is used. I feel like this is confusing and should be called out?