This repository has been archived by the owner on Nov 30, 2018. It is now read-only.
Releases: vknabel/Taps
Releases · vknabel/Taps
0.2.3 (SwiftPM only)
0.2.2
OfferingTests.fail bugfix
0.2.1
Further Changes
- Fixes an issue, that prevented
OfferingTests.fail
from failing - Removed some internal, unused code
Skip and Todo
0.2.0
Breaking Changes
- Removing directive parameters for all Taps
API Additions
- Added
TestCase
class - Added
OfferingTaps
andOfferingRxTaps
where allTestCase
s are defined on - Added
OfferingTests
where allTestPoint
s are defined on - Added
OfferingTaps.skip(_:)
andOfferingTaps.skip
to skip tests - Added
OfferingTaps.todo(_:)
andOfferingTaps.todo
to mark tests as todo
Stabilizing API
0.1.0
Breaking Changes
Test.plan
has accidentially been public. Now it's private. - @vknabel- Curried versions have now an explicit first label - @vknabel
Test.fail(_:)
has been renamed toTest.fail(with:)
- @vknabelTest.notOk(_:message:)
has been renamed toTest.notOk(_:_:)
forOptional<T>
andBool
Test.ok(_:message:)
has been renamed toTest.ok(_:_:)
forOptional<T>
andBool
Test.pass(message:)
has been renamed toTest.pass(_:)
RxTaps.test(_directive:source:timeout:scheduler:with:
forObservable<TestPoint>
has been renamed toassertionTest
- All variations of
Test.doesNotThrow
take a real closure instead of an@autoclosure
- All variations of
Test.doesThrow
take a real closure instead of an@autoclosure
Observable.test(onNext:onError:onCompleted:)
now catches andonError:
is non optional. Introduces non-catchingObservable.test(onNext:onCompleted:)
.- Combined and renamed variations of
Taps.start
toTaps.start(with:testing:)
- Combined and renamed variations of
Taps.run
toTaps.run(with:testing:)
- Combined and renamed variations of
Taps.runMain
toTaps.runMain(with:testing:)
API Additions
SourceLocation(file:line:column:function:)
has now an initializer- Added
Test.doesNotThrow(_:_:test:)
with an Error type - Added curried
Test.doesNotThrow(of:_:)
with an Error type - Added
Test.doesThrow(_:_:test:)
with an Error type - Added curried
Test.doesThrow(of:_:)
with an Error type - Added curried
Test.notOk(with:matches:)
with custom predicate - Added curried
Test.notOk(with:)
forBool
- Added curried
Test.notOk(with:)
forOptional<T>
- Added curried
Test.ok(with:matches:)
with custom predicate - Added curried
Test.ok(with:)
forBool
- Added curried
Test.ok(with:)
forOptional<T>
- Added curried
Test.pass(with:)
- Added
RxTaps.genericTest(_directive:source:timeout:scheduler:with:)
for<T> Test -> Observable<T>
- Added
Observable.test(onNext:onCompleted:)
which won't catch errors. - Property
Taps.runner
is now public - Added static
Taps.runner(with:testing:)
- Added static
Taps.with(_:tests:)
Further Changes
- Added documentation - @vknabel
- Fixes bug for
Test.doesThrow
andTest.doesNotThrow
Initial Release
Initial Release