Skip to content

Releases: pointfreeco/swift-issue-reporting

0.8.2

07 Feb 01:03
ace2130
Compare
Choose a tag to compare

What's Changed

  • Added: XCTFail now 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

Full Changelog: 0.8.1...0.8.2

0.8.1

11 Jan 16:27
16b23a2
Compare
Choose a tag to compare

What's Changed

  • Fixed: Mark XCTFail as @_disfavoredOverload to avoid ambiguity when XCTest is imported (thanks @davdroman, #46).

New Contributors

Full Changelog: 0.8.0...0.8.1

0.8.0

30 Dec 20:23
a9daebf
Compare
Choose a tag to compare

What's Changed

  • Added: New overloads of unimplemented that return values instead of closures. These can be invoked directly in initializers that take autoclosures instead of closures (#41).
  • Added: XCTCurrentTestCase is now publicly available under @_spi(CurrentTestCase) (#42).
  • Infrastructure: Fixed docs to use unimplemented rather than XCTUnimplemented (thanks @hmhv #40).

New Contributors

  • @hmhv made their first contribution in #40

Full Changelog: 0.7.0...0.8.0

0.7.0

20 Dec 21:05
df16fe6
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.6.0...0.7.0

0.6.0

14 Nov 22:03
5a5457a
Compare
Choose a tag to compare

What's Changed

  • Added: File/line context is now printed in unimplemented failure messages (#36).
  • Fixed: unimplemented failures 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

18 Oct 23:07
16e6409
Compare
Choose a tag to compare
  • Changed: XCTUnimplemented has been renamed unimplemented. (XCTUnimplemented is soft-deprecated and will become hard-deprecated in a future release.)
  • Changed: Runtime warnings emitted by XCTFail outside of tests now emit the original failure message unchanged.

0.4.1

14 Sep 15:22
30314f1
Compare
Choose a tag to compare
  • Fixed: XCTestDynamicOverlay now builds for SwiftWASM environments (thanks @inamiy).

0.4.0

08 Aug 13:12
38bc924
Compare
Choose a tag to compare
  • Changed: XCTUnimplemented is now overloaded to take a non-optional placeholder, or nothing at all, to prevent ambiguity in situations where you pass a .none value.

0.3.3

08 Jul 21:22
ef8e14e
Compare
Choose a tag to compare
  • Fixed: Linux now builds correctly when statically linking against the standard library.
  • Infrastructure: Cleaned up DocC.

0.3.2

06 Jul 18:29
046aba2
Compare
Choose a tag to compare
  • Changed: XCTUnimplemented errors now print more context, including the values passed to the function.
  • Fixed: the underscored _XCTIsTesting property no longer returns false when tests run in app hosts.