Releases: ZevEisenberg/TestCleaner
Releases · ZevEisenberg/TestCleaner
0.3.0
New Features
- Add support for throwing functions to be passed in as parameters. 2b949fa
Breaking Changes
TestPair.left
andTestPair.right
are now throwing properties, requiring the use of thetry
keyword to access them. The closure passed toassertCustom
is already marked asthrows
, so this shouldn't cause a problem, but it does require a migration of any code that used those properties withouttry
.
Full Changelog: 0.2.0...0.3.0
0.2.0
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 withxPair
, or excluded because other test cases are marked withfPair
, will not have their members evaluated. #1 - Add optional message parameter to
Pair
,fPair
, andxPair
, which is passed along toXCTest
if the test case fails. #2
Other Changes
- Add unit tests. fbff4f2
Full Changelog: 0.1.0...0.2.0
0.1.0
Initial tagged release.