Skip to content

Releases: atoum/phpunit-extension

0.6

30 Jan 09:14
97563ed
Compare
Choose a tag to compare

Full changelog.

Features

  • New supported asserters (@Hywan):
    • assertObjectHasAttribute,
    • assertObjectNotHasAttribute,
    • assertNotCount,
    • assertNotEmpty.

Fixes

  • assertCount's fail message (aka description in PHPUnit vocabulary) is passed to the inner asserters (@Hywan),
  • assert*Empty no longer rely on assert*Count (@Hywan),
  • assert*Empty supports string (@Hywan).

Documentation

  • List of all supported asserters has been updated (@Hywan).

Tests

  • Add missing test suite for assertIsEmpty (@Hywan).

0.5

18 Dec 09:09
780efb8
Compare
Choose a tag to compare
0.5

Features

  • Add support for the @covers annotations (@Hywan),
  • Add support for the @coversNothing annotations (@Hywan),
  • Add support for the @coversDefaultClass annotations (@Hywan).

0.4.1

21 Nov 08:59
6b35a29
Compare
Choose a tag to compare

Fixes

  • The test must normally be in a namespace matching tests?\\units?. PHPUnit can be used for other tests than units, just like atoum actually. So this constraint has been removed, and the namespace must match tests? only (@Hywan).

0.4.0

09 Oct 09:18
7a12ee3
Compare
Choose a tag to compare

Features

  • Map atoum test hooks to PHPUnit's (@Hywan):
atoum PHPUnit
setUp setUpBeforeClass
tearDown tearDownAfterClass
beforeTestMethod setUp
afterTestMethod tearDown
  • Create fake PHPUnit test hooks (@Hywan).

0.3.0

04 Oct 11:29
e6a5eda
Compare
Choose a tag to compare

Features

  • Decorrelate test suites from SUT when the test suite extends PHPUnit\Framework\TestCase, so that the default behavior of PHPUnit is kept. However, when the test suite extends atoum\phpunit\test or atoum\test directly, the default behavior of atoum is applied, aka the test suite is “linked” to the SUT. Immediate impact: The constant and function mock engines does not work in the former case, which is not a problem because it concerns legacy PHPUnit test suites only (@Hywan).

0.2.1

04 Oct 08:18
cb8eb41
Compare
Choose a tag to compare

Fixes

  • PHPUnit: Make TestCase abstract (@Hywan).

0.2.0

03 Oct 09:45
f6eb947
Compare
Choose a tag to compare

Features

  • Support PHPUnit 5.x and 6.x (@Hywan),
  • Support PHPUnit namespaces (@Hywan),
  • Allow to re-define the default test execution engine (@Hywan),
  • Be compatible with PHP 5.6 (@Hywan).

Chore

  • Re-define the test build matrix on Travis to match the one from atoum (@Hywan),
  • Adopt atoum's coding style (@Hywan).

Documentation

  • Rewrite the README.md (@Hywan).

0.1.0

02 Oct 09:09
Compare
Choose a tag to compare

First release!