Skip to content

Releases: MetalheadSanya/swift-mock

0.8.0

20 Nov 10:16
54b3e1b
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.7.0...0.8.0

0.7.0

12 Nov 09:59
3003ee5
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.6.1...0.7.0

Bugfix

01 Nov 08:20
85d1cfd
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.6.0...0.6.1

Protocol Attributes, Subscript & Function Parameters support

28 Oct 13:29
898c515
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.5.0...0.6.0

Property effects and generic support

20 Oct 07:14
9a26020
Compare
Choose a tag to compare

New support features

Full Changelog: 0.4.1...0.5.0

0.4.1

19 Oct 13:30
e0536af
Compare
Choose a tag to compare

What's Changed

Bug Fix

Improvements:

Full Changelog: 0.4.0...0.4.1

Append InOrder verification for mock objects

17 Oct 09:07
56a36e8
Compare
Choose a tag to compare

This release adds InOrder verification for properties.

This release adds InOrder verification for mock objects:

  • Allow to check the method call order of single mock object.
  • Allow to check the method call order of multiply mock objects.
  • Add explanation of Verify/InOrder 'greedy' algorithm.

Additionally Verify code generation did changed. Now it allow use different storages.

What's Changed

Full Changelog: 0.3.0...0.4.0

Property Verifying

10 Oct 19:10
Compare
Choose a tag to compare

This release adds code generation for verifying getters and setters.

You can verify property getting by using propertyNameGetter() method in Verify structure.
You can verify property setting by using propertyNameSetter(_:) method in Verify structure.

Property stubbing release

06 Oct 18:02
18e81e0
Compare
Choose a tag to compare

This release adds methods for property stubbing in generated Mock class.

  • You can stub property getting by using $propertyNameGetter() method.
  • You can stub property setting bu using $propertyNameSetter(_:) method.

Verifying

06 Oct 07:27
Compare
Choose a tag to compare

This release contains methods and matchers for verifying mocks calls.