Skip to content

Releases: Innmind/BlackBox

5.10.0

30 Nov 12:43
5.10.0
1b8a96a
Compare
Choose a tag to compare

What's Changed

Full Changelog: 5.9.0...5.10.0

5.9.0

29 Nov 19:03
5.9.0
d36e707
Compare
Choose a tag to compare

Added

  • By default the printer groups the proofs output in a GitHub Action
  • Innmind\BlackBox\Runner\Printer\Standard::disableGitHubOutput()

5.8.0

09 Nov 09:56
5.8.0
f184bd8
Compare
Choose a tag to compare

Added

  • $assert->array()->contains()
  • $assert->array()->not()->contains()

5.7.0

21 Jul 16:10
5.7.0
4537927
Compare
Choose a tag to compare

Added

  • Innmind\BlackBox\PHPUnit\Framework\TestCase::assert()
  • Innmind\BlackBox\Set\Tuple

Fixed

  • $assert->same() message not being used
  • Innmind\BlackBox\Set\Sequence shrinking process now correctly shrinks all values that do not affect the test
  • Innmind\BlackBox\Set\Composite shrinking process now correctly shrinks all values that do not affect the test

5.6.3

19 Feb 16:17
5.6.3
b927472
Compare
Choose a tag to compare

Fixed

  • The global function property return type is now Innmind\BlackBox\Runner\Proof\Property allowing you to name the property

5.6.2

28 Jan 14:50
5.6.2
f3cea21
Compare
Choose a tag to compare

Fixed

  • Thrown exceptions in properties weren't failing proofs

5.6.1

02 Dec 15:34
5.6.1
15a4454
Compare
Choose a tag to compare

Changed

  • When disabling memory limit it now longer tries to reset the memory limit to the previous value. (It seems PHP prevents setting the limit lower to the peak memory usage)
  • Innmind\BlackBox\Set\Call regenarate the value each time a scenario is run

Fixed

  • Clear the memory before printing a failing scenarion to make sure no values bleed between scenarii.

5.6.0

02 Dec 10:47
5.6.0
35fd225
Compare
Choose a tag to compare

Added

  • Support for symfony/var-dumper:~7.0

Fixed

  • Stats are correctly displayed in GitHub Actions even in case of a failure

5.5.4

01 Nov 09:20
5.5.4
34f7f80
Compare
Choose a tag to compare

Fixed

  • Assertion failures in properties were displayed as unexpected exceptions

5.5.3

22 Oct 09:51
5.5.3
ef811a6
Compare
Choose a tag to compare

Fixed

  • Uncaught exceptions in properties no longer crash the process

Deprecated

  • Innmind\BlackBox\PHPUnit\Framework\TestCase::expectException()
  • Innmind\BlackBox\PHPUnit\Framework\TestCase::expectExceptionCode()
  • Innmind\BlackBox\PHPUnit\Framework\TestCase::expectExceptionMessage()