Skip to content

Releases: maciejmikosik/testory

1.4.0

07 Nov 04:49

Choose a tag to compare

Improved compatibility with new version of class files.

  • upgraded libraries to new versions: objenesis-3.3, cglib-nodep-3.3.0
  • switched to proguard-7.4.0 for shading jars instead of jarjar-1.4
  • bumped target version to Java 8

1.3.0

22 Feb 23:52

Choose a tag to compare

Rewritten purging logic to be more strict. Before, purging was triggered by when and purged everything before previous when. Now purging is triggered by given/when and purges everything before (inclusive) previous when/then (#100). Also trailing invocations are purged on assumption they belong to previous test. (#101)

1.2.2

06 Dec 11:25

Choose a tag to compare

fixes:

  • fixed backward compatibility with java 7

1.2.1

01 May 13:43

Choose a tag to compare

fixes

  • fixed thread-safety bugs

1.2.0

28 Apr 22:21

Choose a tag to compare

improvements

  • created anyInstanceOf(Class<?>)wildcard #92
  • made given accept Closure and VoidClosure
  • made givenTimes accept VoidClosure #91
  • made mocks thread-safe #95
  • disabled stack trace manipulation #93

fixes

  • improved mocked Throwable sanity by prestubbing fillInStackTrace and printStackTrace #90
  • fixed formatting of arrays and argument list separators when listing actual invocations
  • fixed formattng of arrays inside a(...) and the(...)

1.1.1

04 Mar 16:10

Choose a tag to compare

fixes

  • fixed performance issue of many invocations on mock #88

1.1.0

02 Feb 19:38

Choose a tag to compare

improvements

  • made when method friendly towards lambdas returning void #86
  • rewritten tutorial in more story-telling fashion

v1.0.0

31 Jul 15:37

Choose a tag to compare

improvements

  • made build deterministic #84
  • added missing documentation for thenCalledNever and onRequest
  • made minor improvements to documentation

v0.20.0

24 Jul 14:20

Choose a tag to compare

improvements

  • implemented onRequest InvocationMatcher #73
  • implemented thenCalledNever alias #78

fixes

  • checked that onInstance(Object) receives mock #74
  • made Object proxiable from child ClassLoader #77

v0.19.0

23 Nov 09:52

Choose a tag to compare

improvements

  • added diagnosis to failure message in asserting methods #69
  • fixed outdated links in README.md #68
  • implemented verfifying in order #54

incompatible changes

  • moved InvocationMatcher to proxy package