Skip to content

Releases: ZevEisenberg/TestCleaner

0.3.0

Choose a tag to compare

@ZevEisenberg ZevEisenberg released this 17 May 23:01

New Features

  • Add support for throwing functions to be passed in as parameters. 2b949fa

Breaking Changes

  • TestPair.left and TestPair.right are now throwing properties, requiring the use of the try keyword to access them. The closure passed to assertCustom is already marked as throws, so this shouldn't cause a problem, but it does require a migration of any code that used those properties without try.

Full Changelog: 0.2.0...0.3.0

0.2.0

Choose a tag to compare

@ZevEisenberg ZevEisenberg released this 24 Mar 21:03

New Features

  • Use @autoclosure to defer evaluation of a pair's members until they are actually evaluated by a test. This means that test cases excluded with xPair, or excluded because other test cases are marked with fPair, will not have their members evaluated. #1
  • Add optional message parameter to Pair, fPair, and xPair, which is passed along to XCTest if the test case fails. #2

Other Changes

Full Changelog: 0.1.0...0.2.0

0.1.0

Choose a tag to compare

@ZevEisenberg ZevEisenberg released this 05 Apr 13:37
5873b90

Initial tagged release.