Releases: kylef/Spectre
0.10.1
0.10.0
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
Enhancements
- Added support for using the XCTest integration on non Apple platforms with swift-corelibs-xctest.
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
0.9.0
Breaking
-
Using Spectre in Xcode has be re-hauled, there are now
describe
andit
methods onXCTestCase
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
andit
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.