Skip to content

Various Improvements

Compare
Choose a tag to compare
@daniel-hall daniel-hall released this 04 Apr 04:53
· 19 commits to main since this release
5ca9ee6
  • Made the XCTestCase.testRequirements(in directory:String? parameter default to nil for the most common case of just discovering all requirements

  • Call the beforeEachExample closure before each Example is run

  • StatementHandler can now be created with one of more String statements to match

  • Fixed the static factory methods on StatementHandler to take throwing closures

  • Added factory method overloads for accepting handler closures that don’t use any input. This is a very common case that should always require explicitly ignoring an input parameter, e.g. { _ in }