v6.0.0

@jonreid jonreid released this Aug 5, 2016 · 18 commits to master since this release

Version 6.0.0

04 Aug 2016

Features:

  • Improved mismatch descriptions for contains, containsIn when actual collection exceeds expected size.

Deleted:

  • equalToIgnoringWhiteSpace matcher (deprecated in v5.4.0)
  • HCCollectMatchers (deprecated in v5.3.0)

Project changes:

  • Increased deployment targets to OS X 10.9, iOS 7.0.

Downloads

v5.4.0

@jonreid jonreid released this Jun 5, 2016 · 29 commits to master since this release

Version 5.4.0

03 Jun 2016

Features:

  • Added captureEnabled property to HCArgumentCaptor to control whether subsequent matched values are captured.

Improvements:

  • Updated CocoaPods instructions and examples to CocoaPods 1.0.

Deprecated:

  • equalToIgnoringWhiteSpace has been renamed to equalToCompressingWhiteSpace.
  • Known issue: warning on this deprecation

Downloads

v5.3.0

@jonreid jonreid released this May 23, 2016 · 41 commits to master since this release

Version 5.3.0

22 May 2016

Fixes:

  • Removed semicolons that triggered warnings for -Wsemicolon-before-method-body. Thanks to: Sylvain Defresne
  • Describe isIn matcher in README.

Features:

  • Rewrote assertThatAfter to use runloop observer instead of while loop comparing dates. The condition is now tested on every pump of the runloop instead of polling after a predefined delay. Thanks to: Dan Fleming

Deprecated:

  • Deprecated HCCollectMatchers. Instead, follow the example of HCAllOf.m and break it into two steps: HCCollectItems, then HCWrapIntoMatchers. This will let you expose a new interface to your matcher that takes an NSArray.

Downloads

v5.2.0

@jonreid jonreid released this Jan 16, 2016 · 68 commits to master since this release

Version 5.2.0

16 Jan 2016

Fixes:

  • Fixed umbrella header for Carthage. Thanks to: Sylvain Rebaud, Engin Kurutepe

Features:

  • Improved mismatch descriptions for allOf, allOfIn.

Downloads

v5.1.0

@jonreid jonreid released this Dec 15, 2015 · 87 commits to master since this release

Version 5.1.0

14 Dec 2015

Features:

  • Added Carthage support for Mac, iOS, watchOS and tvOS. Thanks to: Nikolaj Schumacher
  • Added HCDescribeMismatch, a helper function to describe mismatches the way assertThat does.

Downloads

v5.0.0

@jonreid jonreid released this Nov 3, 2015 · 99 commits to master since this release

Version 5.0.0

02 Nov 2015

For detailed discussion on v5.0.0, see http://qualitycoding.org/ochamcrest-v5-0-0/

Features:

  • Instead of enabling short syntax by defining HC_SHORTHAND, short syntax is now enabled by default.
    To disable it, #define HC_DISABLE_SHORT_SYNTAX.
  • Matchers which take nil-terminated lists have "In" variants which take a single NSArray, like
    allOfIn. The matcher hasEntriesIn is an exception and takes an NSDictionary.
  • Improved documentation on all matchers. Documentation is now shown for matchers with fixed numbers
    of arguments. All matchers provide argument hinting.

Renamed:

  • Renamed long syntax for containsInRelativeOrder from prefix hc_ to HC_ to conform to other
    matchers.

Deleted:

  • equalToBool matcher (deprecated in v4.1.0)
  • containsString matcher (deprecated in v4.2.0)
  • assertThatAfter/futureValueOf (deprecated in v4.2.0)
  • HC_testFailureHandlerChain() (deprecated in v4.2.0)

Downloads

v4.3.2

@jonreid jonreid released this Oct 31, 2015 · 137 commits to master since this release

Version 4.3.2

31 Oct 2015

Project changes:

  • Enabling "Symbols hidden by default" in 4.3.1 was overkill, preventing people from using the
    prebuilt Mac framework.

Downloads

v4.3.1

@jonreid jonreid released this Oct 24, 2015 · 139 commits to master since this release

Version 4.3.1

24 Oct 2015

Project changes:

  • Remove debug symbols from Release configuration, which bloated the libraries and kept folks from
    using the prebuilt iOS framework.

Downloads

v4.3.0

@jonreid jonreid released this Oct 11, 2015 · 143 commits to master since this release

Version 4.3.0

11 Oct 2015

Features:

  • New matcher containsInRelativeOrder matches collections containing items in relative order.
  • New matcher HCArgumentCaptor matches anything, capturing matched values.

Project changes:

  • Updated project settings to Xcode 7, with tests now run by XCTest.

Downloads

v4.2.0

@jonreid jonreid released this Sep 12, 2015 · 173 commits to master since this release

Version 4.2.0

11 Sep 2015

Fixes:

  • Fixed "Incompatible pointer types sending 'Class' to parameter of type 'NSString *'" warning on
    instanceOf.

Features:

  • Improved readability of asynchronous tests: assertWithTimeout(1, thatEventually(var), is(@10));
  • Added ability to add custom test failure reporter. See HCTestFailureReporterChain.

Deprecated:

  • Deprecated containsString; use containsSubstring instead. containsString clashes with an
    NSString method introduced in iOS 8.
  • Deprecated assertThatAfter/futureValueOf. Use assertWithTimeout/thatEventually instead.
  • Deprecated HC_testFailureHandlerChain(); use [HCTestFailureReporterChain reporterChain] instead.

Downloads