Permalink
Fetching contributors…
Cannot retrieve contributors at this time
298 lines (212 sloc) 17.8 KB

dev-master

3.3.0 - 2018-03-15

  • #771 Normalize and simplify the asserter name when a test case fails (@hywan)
  • #754 Add the dot report (@jubianchi)
  • #769 CLI: Align options to the left, and increase contrast (@hywan)
  • #757 Take the error reporting level into account to exit the runner (@hywan)
  • #752 Add an os annotation to only run tests on specific OS (@jubianchi)
  • #585 Memory usage is based on the peak & real allocations (@hywan)
  • #740 String asserter now has notMatches assertion (@fvilpoix)

Bugfix

  • #756 Configuration, autoloader and bootstrap files are correctly loaded when using the PHAR (@jubianchi)
  • #755 String asserter's failure messages are clear (@jubianchi)
  • #773 Directory is the current working directory (@hywan)
  • #770 Fix path to the runner for the help (@hywan)
  • #768 Fix typos in the CLI help (@hywan)
  • #767 Fix typos in the exception messages (@hywan)

3.2.0 - 2017-09-07

  • #739 Avoid many memory allocations in error report field (@hywan)
  • #736 Display clear errors when mocking function fails (@jubianchi)
  • #737 Command line switches override configuration file directives (@jubianchi)
  • #733 Uncompleted methods make atoum exit with an error code (@jubianchi)
  • #734 The exception::isInstanceOf asserter correctly works with interfaces (@jubianchi)
  • #731 Remove dependency on ext-session (@jubianchi, @hywan)

Bugfix

3.1.1 - 2017-07-19

Bugfix

  • #727 Add alias on phpObject to restore compatibility (@grummfy)

3.1.0 - 2017-07-11

  • #726 Remove an autoloader cache warning (@hywan)
  • #719 Add nullable type support in the mock engine (@grummfy)
  • #723 object is a reserved keyword as of PHP 7.2 (@trasher)
  • #713 Results are folded on Travis CI (@jubianchi)
  • #709 Exception asserter now has isInstanceOf without parenthesis (@guiled)
  • #705 Stream asserter now has isRead and isWritten assertion (without brackets) (@guiled)
  • #701 Mock generator supports strict_types (@jubianchi)

Bugfix

3.0.0 - 2017-02-22

Bugfix

  • #691 Fix how annotations are extracted. Only those actually starting with @ are handled (@jubianchi)
  • #688 Avoid reporting incorrect atoum path (@hywan)

2.9.0 - 2017-02-11

  • #667 Assert on array values using mageekguy\atoum\asserters\phpArray::$values (@krtek4)
  • #682 Do not call parent class when mocking as interface (@mageekguy)
  • #679 Copy PHP_IDE_CONFIG into forked processes (@mvrhov)
  • #678 Each mock instance can be made unique by calling eachInstanceIsUnique on the mock generator (@mageekguy)

2.9.0-beta1 - 2016-10-08

  • #604 Add a addConfigurationCallable method on the runner to allow extensions to register themselves (@agallou, @jubianchi)
  • #634 Only one extension of a kind can be loaded. Extensions can be unloaded (@agallou, @jubianchi)
  • #619 Add branches and paths coverage support to AtoumTask for Phing (@oxman)

Bugfix

2.8.2 - 2016-08-12

2.8.1 - 2016-07-01

2.8.0 - 2016-07-01

  • #605 Automatically include Composer's autoloader if it exists (@jubianchi, @agallou)
  • #605 Handle .autoloader.atoum.php files to define tests autoloader (@jubianchi)
  • #605 Add the --autoloader-file/-af CLI argument to define which autoloader file to user (@jubianchi)
  • #596 Test methods' tags are inherited from test classes (@jubianchi)

2.7.0 - 2016-06-20

Bugfix

  • #600 Reports override correctly when using -ulr/-utr (@jubianchi)
  • #593 Assertions on PHP 7 exceptions/throwables/errors are now working correctly (@jubianchi)

2.6.1 - 2016-04-08

  • #590 The dateTime asserter now fully supports \dateTimeImmutable (@fferriere)

2.6.0 - 2016-03-08

Bugfix

  • #583 Fix asserting on zeroes with the phpFloat asserter (@jubianchi)
  • #581 Fix how arguments are passed when using loop mode (@jubianchi)
  • #578 Fix arguments priority parsing when they have no priority (@agallou)

2.5.2 - 2016-01-28

2.5.1 - 2016-01-18

2.5.0 - 2016-01-08

  • #539 Add a newMockInstance helper method on test class (@Grummfy)
  • #548 The dateTime asserter now supports \dateTimeImmutable (@jubianchi)
  • #540 Assert on child arrays using the phpArray asserter (@jubianchi)
  • #541 New toArray (along with toArray method on phpString and object asserters) and iterator asserters (@jubianchi)
  • #535 New resource asserter group (with isOfType or is* wildcard like isStream) (@hywan)
  • #529 Allow extensions to define configuration (@jubianchi)
  • #496 Mock generator supports variadic arguments passed by reference (@jubianchi)
  • #496 Auto generate and inject mocks in test methods (@jubianchi)

Bugfix

  • #350 PHAR can be built on Windows (@kao98)
  • #530 Extracted mocked method signature generation to make it work with visibility extension (@jubianchi)
  • #537 exception asserter handles PHP 7 throwables (@jubianchi)

2.4.0 - 2015-12-04

Bugfix

2.3.0 - 2015-10-22

Bugfix

  • f28a6ee "DOMElement::setIdAttribute(): ID otherMethod already defined" error (@jubianchi)

2.2.2 - 2015-09-17

  • #497 Fix fail message forwarding from match to matches in string asserter (@vonglasow)
  • #477 Fix exit code when there is something wrong in the configuration file (@jubianchi)

2.2.1 - 2015-08-27

2.2.0 - 2015-07-31

2.1.0 - 2015-05-08

2.0.1 - 2015-02-27

2.0.0 - 2015-02-13

BC break updates

  • #420 atoum\test::beforeTestMethod is called before the tested class is loaded (@mageekguy)

Other updates

  • #431 Tested class should not be mock as an interface. (@mageekguy)
  • #430 Add atoum\mock\generator::allIsInterface() to definitely disable all parent classes' behaviors in mocks (@mageekguy)
  • #427 atoum\asserters\mock::receive is an alias to atoum\asserters\mock::call (@mageekguy)

1.2.2 - 2015-01-12

  • #415 Fix a bug in the coverage report with excluded classes (@mageekguy)
  • #406 Fix a bug in the HTML coverage with stylesheet URLs (@jubianchi)
  • #418 Fix a bug when a mocked method returns a reference (@hywan)

1.2.1 - 2015-01-09

1.2.0 - 2014-12-28

  • #408 Extract mock autoloader (@jubianchi)
  • #403 Fix a bug when setting the default mock namespace (@hywan)
  • #387 Support assertion without parenthesis on dateInterval, error, extension and hash asserters (@jubianchi)
  • #401 Use new Travis container infrastructure (@jubianchi)
  • #405 Add the Santa report and an example configuration file (@jubianchi)
  • #394 Mock generator now handles variadic arguments in method (@jubianchi)
  • #398 Replace broken documentation links (@jubianchi)
  • #396 Rename match to matches on the string asserter (@hywan)
  • #385 Rename the PHAR to atoum.phar (@hywan)
  • #392 Fix broken links in README.md (@evert)
  • #391 Add dates in CHANGELOG.md (@hywan)
  • #379 Fix newTestedInstance assertion when constructor contains a variable-length argument (@mageekguy)

1.1.0 - 2014-12-09

1.0.0 - 2014-12-01

  • Allow/Disallow mocking undefined methods
  • Pass test instance as first parameters of closures in exception, when, output
  • Add --fail-if-void-methods and --fail-if-skipped-methods
  • --init option now accepts a path to a directory to initialize with atoum configuration
  • Add coverage script to automatically produce reports
  • Add isFluent
  • Add isNull, isNotNull, isCallable, isNotCallable, isNotTrue, isNotFalse assertions on variable
  • Add isTestedInstance assertion on object asserter
  • Add testedInstance helper
  • Add newTestedInstance and newInstance helpers
  • Add isNotInstanceOf assertion on object asserter
  • Alias assertions from test classes
  • Register asserters from test classes
  • Define new assertion directly from test classes
  • Change test method prefix using @methodPrefix on test classes
  • Add CHANGELOG.md

0.0.1 - 2013-11-05