wwt / SwiftCurrent

A library for managing complex workflows in Swift
https://wwt.github.io/SwiftCurrent/
Apache License 2.0
308 stars 19 forks source link

Testing stuff included in a pod for it #1

Closed richardagist closed 4 years ago

richardagist commented 4 years ago

Is your feature request related to a problem? Please describe. Testing things

Describe the solution you'd like Include those testing mocks and listeners and asserters in a pod I can pull in on my test target

Describe alternatives you've considered Copying everything from you and stealing it....

Additional context God, Tyler. We've already talked about this.

Tyler-Keith-Thompson commented 4 years ago

The subspec XCTest is available

pod DynamicWorkflow/XCTest

For consumption now. It includes a WorkflowListener, a MockPresenter and just for kicks it solves the problem where the file and line weren't being reported at the place they actually failed.