Skip to content

Releases: Codeception/Specify

2.0.0

Choose a tag to compare

@TavoNiievez TavoNiievez released this 07 Dec 15:09
b718b4b

What's Changed

Full Changelog: 1.4.0...2.0.0

1.4.0

Choose a tag to compare

released this 27 Aug 20:32
  • Added Fluent Interface support, this allows you to add it's and should's chained to a specify or describe.
  • Specify.php trait now only has the public API methods.
  • If an it or should only receives text now that test is marked as incomplete.
  • shouldNot and its were added as aliases.

PHPUnit 9 support

Choose a tag to compare

@Naktibalda Naktibalda released this 15 Feb 21:45
fe4825c
Support PHPUnit 9 (#50)

* Support PHPUnit 9

* Run tests on PHP 7.3 and 7.4

* Made ResultPrinter compatible with PHPUnit 9

PHPUnit 8 support

Choose a tag to compare

@Naktibalda Naktibalda released this 01 Aug 20:11
e3fefa2
  • Extended range of supported PHPUnit versions to include PHPUnit 8
  • Fixed signature of result printer `writeProcess method #45 by @purwandi

PHPUnit 7 supprt / PHPUnit 6.x drop

Choose a tag to compare

@DavertMik DavertMik released this 13 Mar 00:18

Due to interface change in PHPUnit 7 we can't support both PHPUnit 7x. and 6.x
This release request PHPUnit 7.x and PHP 7.1+ as well.

If you can't update keep using 1.0 version.

1.0

1.0

Choose a tag to compare

@DavertMik DavertMik released this 20 Nov 23:49

Specify was refactored to simplify its usage. Works with PHP7 and PHPUnit 6+ only (and Codeception, of course)

  • BREAKING: PHPUnit 6 support
  • BREAKING: Removed configuration section
  • BREAKING: Only properties marked with @specify annotation are cloned in specify blocks.
  • BREAKING: Removed throws parameter in specify blocks
  • Added $this->describe, $this->it, $this->should aliases to $this->specify
  • Added Codeception\Specify\ResultPrinter to fix printing progress of specify blocks.

Upgrade Plan

  1. Update to PHP7+ PHPUnit 6+
  2. Add to phpunit.xml: printerClass="Codeception\Specify\ResultPrinter"
  3. If relied on property cloning, add @specify annotation for all properties which needs to be cloned for specify blocks
  4. If you used throws parameter, consider using AssertThrows package.

0.4.6

Choose a tag to compare

@sergeyklay sergeyklay released this 31 Jan 20:20
  • Added ability isolate and verify mock objects within a specification (#34, #35, #37)

Thanks @ischenko

Revert regression in 0.4.4

Choose a tag to compare

@DavertMik DavertMik released this 17 Oct 22:37

Revert #35

Mock object properties to be isolated

Choose a tag to compare

@DavertMik DavertMik released this 13 Oct 11:54

See #34

0.4.3

Choose a tag to compare

@DavertMik DavertMik released this 26 Nov 23:42

Shows example index on failure