All Versions
54
Latest Version
Avg Release Cycle
14 days
Latest Release
1605 days ago
Changelog History
Page 3
Changelog History
Page 3
-
v4.0.0 Changes
๐ The 4.0.0 release is a large release. With the project rename, the packages have changed and module names have changed.
Major changes:
- ๐ The KotlinTest project is now multi-platform. This means most of the modules now require -jvm to be added if you are working server side JVM only. For example,
io.kotlintest:kotlintest-runner-junit5
is nowio.kotest:kotest-runner-junit5-jvm
taking into account package name changes and the platform suffix. - โ
The main assertions library is now
kotest-assertions-core
and many new assertions (matchers) have been added. This changelog won't list them all. It is simpler to view the [full list](doc/matchers.md). - ๐ The property test library has moved to a new module
kotest-property
and been reworked to include many new features. See new documentation [here](doc/property_testing.md). The old property test classes are deprecated and will be removed in a future release. - โ Many new property test generators have been added. The full list is [here](doc/generators.md).
- โ Composable specs have been added in the form of Test Factories.
- ๐ฆ Project config no longer requires placing in a special package name, but can be placed anywhere in the [classpath](doc/project_config.md).
- @Autoscan has been added for [listeners](doc/listeners.md) and extensions.
- โ Added DSL version of test lifecycle [callbacks](doc/listeners.md#dsl-methods).
Minor changes.
- ๐ Feature: A new JSoup assertions module has been added. #1028
- ๐ Feature: Stats matchers #851
- ๐ Feature: Experimental Robolectric Support #926
- ๐ Bugfix: shouldNotThrowAny return T instead of Unit #981
- ๐ Internal: Removed dependency on Arrow to avoid version conflicts
- ๐ Feature: Project wide default test case config
- ๐ Feature: whenReady(f) has been replaced with f.whenReady which is coroutine enabled
- ๐ Feature: Alphabetic test case ordering
- ๐ Feature: All test callbacks are now coroutine enabled
- ๐ Feature: forEachAsClue
- ๐ Improvement: Support Koin 2.1.0
- ๐ Improvement: Explicitly allow internal classes as specs
- ๐ Feature: Klock matcher support #1214
- ๐ Feature: JDBC matcher support #1221
- ๐ The KotlinTest project is now multi-platform. This means most of the modules now require -jvm to be added if you are working server side JVM only. For example,
-
v4.0.0-BETA3
March 17, 2020 -
v4.0.0-BETA2
March 09, 2020 -
v4.0.0-BETA1
February 16, 2020 -
v3.4.3
January 23, 2020 -
v3.4.2 Changes
September 20, 2019- ๐ Bugfix: Enhances SpringListener to work correctly with all Spring's Listeners #950
-
v3.4.1 Changes
September 20, 2019- ๐ Internal: Remove JUnit redeclarations #927
- ๐ Feature: Add infix modifier to more Arrow matchers #921
- ๐ Feature: BigDecimal range matchers #932
- ๐ Feature: monotonically/strictly increasing/decreasing matcher #850
- ๐ Feature: Fixes shouldBe and shouldNotBe comparison #913
- ๐ Feature: Add overload to Ktor shouldHaveStatus matcher #914
- ๐ Feature: Fail parent tests when child tests fail #935
-
v3.4.0 Changes
July 22, 2019- ๐ Feature: Support for running tests with Koin #907
- ๐ Feature: Global timeout option can be applied across all tests #858
- ๐ Feature: Introduced await as a more feature rich version of eventually #888 #793
- ๐ Feature: Array overloads for all matchers #904
- ๐ Feature: Support Spring's Test Listeners #887
- ๐ Feature: Limit Parallelism for some specs #786
- ๐ Feature: Added new project listener #859
- ๐ Feature: Change System extensions to support different modes #843
- ๐ Feature: Print project configurations #841 #866
- ๐ Feature: New date matcher variations for month, time units, day of week, etc #899
- ๐ Feature: Multi line diff min line config option #706
- ๐ Feature: Allow nested describe scope in DescribeSpec #905
- ๐ Feature: Add matcher for Dates to ignore timezone #891
- ๐ Feature: Reflection matchers #614 #894
- ๐ Feature: Added string matchers for single line and size between #853
- ๐ Feature: Added contracts and lambda variations of matchers for arrow types #802 #890 #834
- ๐ Feature: Added matchers for LocalTime #889
- ๐ Feature: Added Zoned and Offset date time variants of shouldBeToday #820
- ๐ Feature: Add new throwable matchers #864
- ๐ Feature: Added matchers for Result #836 #861
- ๐ Feature: Added big decimal matchers #875
- ๐ Feature: Added shouldBeSymbolicLink and shouldHaveParent matchers for files #871
- ๐ Feature: Json Matchers from resources #873
- ๐ Feature: Added shouldBeZero and shouldNotBeZero matcher for number types #819 #848
- ๐ Feature: Added shouldContainFiles matcher for path #854
- ๐ Feature: The URI matchers should also work on URLs. #818
- ๐ Feature: Allow setting isolation mode in project config #842
- ๐ Feature: Added containFileDeep File matcher #846
- ๐ Feature: Implements SkipTestException #805
- ๐ Feature: Implements Infinity and NaN Double Matchers #801
- ๐ Feature: Add asClue helper function #784
- ๐ Feature: Add infix map matchers using Pair #792
- ๐ Feature: Add Short and Btyte primitive gens #773
- ๐ Feature: Implement Gen.take(n) function #758
- ๐ Feature: Implement Gen.next(predicate) function #759
- ๐ Feature: Add support to change sizes of generated lists, sets, maps #757
- ๐ Feature: Allow exclusion/inclusion tags at runtime #761
- ๐ Bugfix: Added missing part of shouldHaveLength message #870)
- ๐ Bugfix: Updated json matchers to include actual json in the error
- ๐ Bugfix: Fix for before/after test listeners not failing tests #842 #865
- ๐ Bugfix: Changed autoClose to accept an AutoCloseable #847
- ๐ Bugfix: Fixed left vs right issue #612
- ๐ Bugfix: Ensure specs that fail in initialisation fail a Maven build #832
- ๐ Bugfix: Fixed test engine reporting when there is an exception in either the init block, beforeSpec or the afterSpec method #771
- ๐ Internal: io.kotlintest.Result renamed to io.kotlintest.MatcherResult to avoid conflict with new Kotlin class kotlin.Result #898
-
v3.3.3
July 22, 2019 -
v3.3.2 Changes
April 05, 2019- ๐ Fixed .kotlintest folder being created even when not necessary #720
- ๐ Fixed child tests propagating exceptions to parents (making the entire test suite fail)