Releases: pointfreeco/swift-issue-reporting
Releases · pointfreeco/swift-issue-reporting
0.8.2
What's Changed
- Added:
XCTFailnow detects when it's called from a host application, outside a test case stack and generates an appropriate warning (thanks @tgrapperon, #48). This can help folks diagnose when test helpers are called from their app targets and cause unrelated failures.
New Contributors
- @tgrapperon made their first contribution in #48
Full Changelog: 0.8.1...0.8.2
0.8.1
What's Changed
- Fixed: Mark
XCTFailas@_disfavoredOverloadto avoid ambiguity when XCTest is imported (thanks @davdroman, #46).
New Contributors
- @davdroman made their first contribution in #46
Full Changelog: 0.8.0...0.8.1
0.8.0
What's Changed
- Added: New overloads of
unimplementedthat return values instead of closures. These can be invoked directly in initializers that take autoclosures instead of closures (#41). - Added:
XCTCurrentTestCaseis now publicly available under@_spi(CurrentTestCase)(#42). - Infrastructure: Fixed docs to use
unimplementedrather thanXCTUnimplemented(thanks @hmhv #40).
New Contributors
Full Changelog: 0.7.0...0.8.0
0.7.0
What's Changed
- Support more generated placeholder types (thanks @iampatbrown, #39).
New Contributors
- @iampatbrown made their first contribution in #39
Full Changelog: 0.6.0...0.7.0
0.6.0
What's Changed
- Added: File/line context is now printed in
unimplementedfailure messages (#36). - Fixed:
unimplementedfailures now print the debug description of any arguments. - Fixed: Added resilience around detecting the current XCTest case.
Full Changelog: 0.5.0...0.6.0
0.5.0
- Changed:
XCTUnimplementedhas been renamedunimplemented. (XCTUnimplementedis soft-deprecated and will become hard-deprecated in a future release.) - Changed: Runtime warnings emitted by
XCTFailoutside of tests now emit the original failure message unchanged.
0.4.1
0.4.0
- Changed:
XCTUnimplementedis now overloaded to take a non-optionalplaceholder, or nothing at all, to prevent ambiguity in situations where you pass a.nonevalue.
0.3.3
- Fixed: Linux now builds correctly when statically linking against the standard library.
- Infrastructure: Cleaned up DocC.
0.3.2
- Changed:
XCTUnimplementederrors now print more context, including the values passed to the function. - Fixed: the underscored
_XCTIsTestingproperty no longer returnsfalsewhen tests run in app hosts.