The deprecated RuntimeTagExtension has been undeprecated but moved to a new package.Moved assertionMode from TestCase to test case config.The deprecated isolation setting in Specs has been removed.When using inspectors, the deprecated system property has been removed.Previously it was available on other targets but had no effect outside the JVM. Changed PostInstantiationExtension to be suspendable.equalJson has an added parameter to support the new shouldEqualSpecifiedJson assertion.The experimental datatest functions added in 4.5 have moved to a new module kotest-framework-datatest and they have been promoted to stable.This change will only affect you if you have custom extension functions that use TestContext. This is the receiver type used in test lambdas. TextContext has been renamed to TestScope.To enable, set the system property to true. The Engine no longer logs config to the console during start by default.Any custom arbs that use the recommended arbitrary builders are not affected. Any custom arbs that override this method should be updated. This was deprecated in 4.3 in favour of Arb.sample. If you are running tests on JS legacy then you will need to continue using Kotest 4.6.x or test only IR. The legacy compiler is no longer supported. Javascript support has been reworked to use the IR compiler.See detailed post about 5.0 features and changes here Breaking Changes and removed deprecated methods Change should to shouldNot on shouldNotBeEqualToComparingFieldsExcept (#2637)ĥ.0.0 November 2021 Kotlin 1.6 is now the minimum supported version .Fixes withEnvironment empty system environment variables on Linux (#2615).Fix endless recursion in 2-arity checkAll (#2510).Fix InstantRange random nanos selection when the seconds equal the ends of the range (#2441).Fixes ShouldContainExactly for collection containing byte arrays (#2360).JSON Matchers does not offer "Click to see difference".Dump coroutine debug output automatically after test finishes #2680.Regression: Test times reported as zero in junit #2686.Fixed compiler plugin multiplatform race condition #2687.Added testCoroutineDispatcher override to project config #2693.
Fixed WordSpec to work with intellij plugin when used nested contexts.Display names now include affixes when configured.