Skip to content

Latest commit

 

History

History
425 lines (280 loc) · 18 KB

CHANGELOG.md

File metadata and controls

425 lines (280 loc) · 18 KB

Changelog has moved to GitHub releases starting from 1.69.

1.69 (WIP)

  • Add support for file assertions shouldContainLineWithString and shouldNotContainLineWithString | Issue | PR | thanks to @priyaaank

1.68

  • Move more Assertions to support assertSoftly and the IntelliJ Compare window
  • Support diffs in IntelliJ (Compare window) | Issue | PR | thanks to @drcolombo

1.67

1.66

  • Fix exceptions failing silently with assertSoftly | Issue | PR | thanks to @piotrb5e3

1.65

  • Add soft assertions (assertSoftly) | Docs | Issue | PR | thanks to @drcolombo
  • Various bug fixes in Equivalency functionality and message formatting | PR | thanks to @drcolombo
  • New assertion shouldBeEqualToIgnoringCase for Char[Sequence] | PR | thanks to @drcolombo
  • BREAKING Remove mocking feature | Issue | PR | thanks to @jleidgens for reporting and @drcolombo for fixing

1.64

  • Add shouldBeEquivalentTo and shouldNotBeEquivalentTo | Docs | PR | thanks to @drcolombo

1.63

  • Make numerical backtick assertions accept Comparable | Issue | PR | thanks to @CiprianU

1.62

  • Make shouldBeNear to consider NaN as being near itself | PR | thanks to @jcornaz
  • Make the shouldBeLess/Greater family of assertion accept anything comparable | PR | thanks to @jcornaz

1.61

1.60

1.59

  • Rename some assertions to keep consistent naming strategy | Issue | PR | thanks to @JcMinarro
  • Support assertion for sorted collections | Issue | PR | thanks to @JcMinarro

1.58

  • Fix implementation of Map.shouldContainSame to compare all pairs |Issue | PR | thanks to @Murtaught

1.57

  • Add assertions for sequences | PR | thanks to @jcornaz
  • Add shouldHaveSingleItem assertions for various arrays | PR | thanks to @ChristianIvicevic
  • Add shouldContainAny with lambda predicates | PR | thanks to @javatarz
  • Various gradle fixes | PR | thanks to @javatarz

1.56

  • Support for validating custom exception values | PR | thanks to @jeggy

1.55

1.54

1.53

  • Add shouldEqualUnordered and shouldNotEqualUnordered | PR | thanks to @jeggy

1.52

  • Update mockito-kotlin to add Gradle 5.1.1 compatibility | PR | thanks to @St4B

1.51

  • Add predicate matchers for collections (shouldMatchAtLeastOneOf and shouldMatchAllWith) | PR | thanks to @sheix

1.50

  • Add shouldHaveSize and shouldHaveSingleItem to collections | Issue

1.49

1.48

  • Add runtime dependencies for Android | fixes #130 and #133

1.47

  • Provide a wrapper function for asserting exceptions | Issue | PR | thanks to @rubengees

1.46

1.45

1.44

  • Implement kotlin contracts where possible | PR | thanks to @jcornaz
  • Allow to call isInstanceOf and equivalent assertions on nullable types | PR | thanks to @jcornaz

1.43

  • Update Kotlin to 1.3
  • Update mockito-kotlin to 2.0.0 | PR | thanks to @floralvikings

1.42

  • Use jvmTarget 1.6 for Android builds

1.41

  • Implement numerical assertions for BigDecimal | Issue | PR

1.40

1.39

  • Provide shouldBeDigit and shouldNotBeDigit | Issue | thanks to @AndreasVolkmann | PR
  • Implement shouldHaveTheSameClassAs and shouldNotHaveTheSameClassAs | Issue | thanks to @igorwojda | PR
  • Add checked exceptions to itThrows | Issue | thanks to @thetric | PR
  • Restructure project into platform modules to prepare for 2.0 | PR
  • Create more overloads for Collections | Issue | PR

1.38

1.37

1.36

  • Assert that a CharSequence contains a Char | Issue
  • Include the file path in File assertions | Issue

1.35

  • Revisit return types of assertions | Issue | PR

1.34

  • Allow chaining of assertions | Issue | PR
  • Return non-null instance when using shouldNotBeNull | Issue | thanks to @goreRatzete
  • Add a more descriptive failure message for shouldBeTrue and shouldBeFalse | Issue | thanks to @damelines
  • Add a more descriptive failure message for not null | Issue | thanks to @kamilchm

1.33

  • Add missing backtick verifier | Issue | thanks to @athkalia
  • Kluent now uses fixed dependency version

1.32

1.31

  • Expect an Exception instance to be thrown compared by equals | PR | thanks to @nhellwig

1.30

  • Allow should(Not)Throw to on functions returning nullables | Issue | PR | thanks to @gregwoodfill
  • Update mockito-kotlin to kt1.1 | Issue

1.29

  • Add shouldContainSome and shouldContainNone to collections | Issue | PR

1.28

  • Starting with this version, Kluent is now available for Android! Thanks to @eburke for making this possible! | PR | thanks to @eburke
  • Fix order of arguments to assertArrayEquals() calls | PR | thanks to @cketti

1.27

  • Deprecate shouldThrowTheException for shouldThrow | PR | thanks to @goreRatzete
  • Update mockito-kotlin to 1.5.0

1.26

1.25

  • Allow Errors to be thrown from a stub | PR | thanks to @guenhter

1.24

1.23

  • Add shouldContainAll and shouldNotContainAny assertions | PR | thanks to @Egorand

1.22

  • Verify that a method was not called | PR | thanks to @miszmaniac

1.21

1.20

  • Use Throwable instead of Exception as base type for asserts on Exceptions | Issue | PR | thanks to @westonal

1.19

  • ExceptionResult is now Typed and withCause and withMessage are now fluent | PR | thanks to @vjames19

1.18

1.17

1.16

  • Update Kotlin to 1.1.0
  • Correct assertion message for Collection.shouldBeEmpty | Issue

1.15

  • Rework failure messages of shouldNotContain assertions | Issue
  • Extract assertions into different files
  • Add withCause for Exception-Assertions | Issue | PR | thanks to @okkero
  • Add common non infix assertions | Issue | PR

1.14

  • Introduce numerical operations | Issue | PR

    shouldBeGreaterOrEqualTo

    shouldBeGreaterThan

    shouldBeLessOrEqualTo

    shouldBeLessThan

    shouldBePositive

    shouldBeNegative

    shouldBeInRange

1.13

  • Provide methods to check if an object is a given instance | PR | thanks to @GAumala

    shouldBeInstanceOf

    shouldNotBeInstanceOf

1.12

  • Update Kotlin to 1.0.6 | Issue | PR

1.11

  • Provide methods for common String operations | Issue | PR | thanks to @goreRatzete

    shouldStartWith

    shouldNotStartWith

    shouldEndWith

    shouldNotEndWith

    shouldContain

    shouldNotContain

    shouldMatch

    shouldNotMatch

1.10

  • Provide methods to test maps | Issue | PR | thanks to @goreRatzete

    shouldHaveKey

    shouldNotHaveKey

    shouldHaveValue

    shouldNotHaveValue

    shouldContain (pair)

    shouldNotContain (pair)

1.9

  • Allow subtyping of exceptions | Issue | PR | thanks to @neyb