OliverO2

Results 26 issues of OliverO2

Drop references in the docs to the outdated [Changelog](https://kotest.io/docs/next/changelog.html). Include references to [kotest/releases](https://github.com/kotest/kotest/releases).

documentation 📚

**kotlinx-coroutines-debug:1.8.0** This one appeared once when running Kotest in debug mode with `env KOTEST_DEBUG=true ./gradlew ...`: ``` reactor.blockhound.BlockingOperationError: Blocking call! jdk.internal.misc.Unsafe#park at app//io.kotest.extensions.blockhound.KotestBlockHoundIntegration.applyTo$lambda$2$lambda$1(KotestBlockHoundIntegration.kt:28) at app//reactor.blockhound.BlockHound$Builder.lambda$install$8(BlockHound.java:488) at reactor.blockhound.BlockHoundRuntime.checkBlocking(BlockHoundRuntime.java:89) at [email protected]/jdk.internal.misc.Unsafe.park(Unsafe.java) at...

bug

Provide testTimeSource() which automatically returns virtual time in (test) coroutines configured to use it, TimeSource.Monotonic otherwise. Contains stabilization fixes for * GlobalTimeoutTest * EngineTimeoutTest * LongHttpRequestTest * engine.concurrency.TimeoutTest * SpecInvocationTimeoutShouldNotApplyToContainersTest...

**:kotest-assertions:kotest-assertions-core:jvmTest** * [x] com.sksamuel.kotest.assertions.timing.ContinuallyTest[jvm] (macos-latest) ``` continually should[jvm] Test fail tests start off as passing then fail within the period[jvm] FAILED (3s) java.lang.AssertionError: Expected exception kotlin.Throwable but no exception was...

maintenance 🔨

Kotest 5.9.1/master at 846f0a66f795eb0ef419cc2fbebbe1c0c2c51647 [In the logs](https://github.com/kotest/kotest/actions/runs/9536396785/job/26283311789), we occasionally see ``` Warning: [107.675s][warning][gc,alloc] ClassGraph-worker-306: Retried waiting for GCLocker too often allocating 1026 words ``` followed by ``` > Task :kotest-runner:kotest-runner-junit5:jvmTest...

bug 🐛

Kotest 5.9.1/master Example: Self-testing Kotest with `./gradlew -p kotest-framework/kotest-framework-engine cleanAllTests jvmTest -Dkotest.tags=Deprecated --no-build-cache` produces (among others): ``` io.kotest.assertions.AssertionFailedError: expected: but was: at com.sksamuel.kotest.engine.spec.style.FreeSpecTest.afterSpec(FreeSpecTest.kt:15) ``` ``` io.kotest.assertions.AssertionFailedError: expected: but was: at...

documentation 📚

I just had a timeout on a local build with https://github.com/kotest/kotest/blob/0ec32b335362a98390285c6067c2d65f8e2ab581/kotest-runner/kotest-runner-junit5/src/jvmTest/kotlin/com/sksamuel/kotest/runner/junit5/PerformanceTest.kt#L12 This was seemingly caused by a parallel run of `:kotest-framework:kotest-framework-multiplatform-plugin-gradle:check`, which is very resource intensive as it fires up...

maintenance 🔨
builds 🐘

https://kotest.io/docs/framework/testcaseconfig.html documents the following deprecated symbols: * `val defaultTestConfig` * `fun defaultTestCaseConfig()` * `class TestCaseConfig` Also, for `val defaultTestConfig`, the deprecation hint is not useful: ``` These settings should be...

documentation 📚

Using [concurrent-linked-deque-bug](https://github.com/ndkoval/concurrent-linked-deque-bug) at its initial commit 0f685f8, and adding the following function to the test class ```kotlin @StateRepresentation fun stateRepresentation() = "$deque" ``` produces the following output: ``` Non-determinism found....

`CoroutineScope.newCoroutineContext` currently sets up coroutine contexts via a hard-wired mechanism: https://github.com/Kotlin/kotlinx.coroutines/blob/287a931d3b8ce534757c6c2399eb72e6574bcf69/kotlinx-coroutines-core/jvm/src/CoroutineContext.kt#L32-L37 Here is a use case where a customizable set of default context elements would help: The Kotest assertions library...

enhancement