Skip to content

Releases: kylef/Spectre

0.10.1

31 Aug 19:52
Compare
Choose a tag to compare
  • Prevents compilation error when building Spectre on Xcode 13.

0.10.0

15 May 17:26
Compare
Choose a tag to compare

Breaking Changes

  • Support for Swift < 4.2 has been dropped.

Enhancements

  • Reporter type can be set via an environment variable. For example, to use dot reporter:

    $ env SPECTRE_REPORTER=dot swift test
  • Additional arguments and options can be passed to Spectre using the
    SPECTRE_ADDOPTS environment variable, for example:

    $ SPECTRE_ADDOPTS=Tests/SpectreTests/FailureSpec.swift swift test
  • Spectre can be passed a set of files to filter which tests will be executed.

  • Add support for Xcode 12.5.

0.9.2

18 Nov 15:13
Compare
Choose a tag to compare

Enhancements

Bug Fixes

  • Compatibility with some versions of Xcode greater than 12.0.1 where a build error with incompatibility between XCTIssue and XCTIssueReference may be presented with Swift 5.3.

0.9.1

16 Aug 19:15
Compare
Choose a tag to compare

Enhancements

  • Added support for using the XcodeReporter with Xcode 12 beta.

0.9.0

10 Sep 18:06
Compare
Choose a tag to compare

Breaking

  • Using Spectre in Xcode has be re-hauled, there are now describe and it
    methods on XCTestCase which can be used. When used, these tests will be ran
    directly and reported as XCTest failures and therefore shown in Xcode and
    Xcode sidebar as XCTest failures.

    Use of the global test context, i.e, global describe and it is no longer
    permitted when using Spectre with XCTest.

Enhancements

  • Adds support for Swift 4.2.

  • Unhandled errors will now be reported from the invoked cases source map.