- #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)
- #701 Mock generator correctly handles
void
return type (@jubianchi)
- #664 New asserter:
generator
(@agallou) - #694 The VIM plugin has been moved to atoum/vim-plugin (@jubianchi)
- #615 Remove reserved keyword, replace void by blank (@vonglasow)
- #643 atoum now requires PHP
>=5.6.0
(@jubianchi)
- #691 Fix how annotations are extracted. Only those actually starting with
@
are handled (@jubianchi) - #688 Avoid reporting incorrect atoum path (@hywan)
- #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)
- #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)
- #633 Mock generator correctly handles the
self
return type (@jubianchi) - #637 Errors are displayed in the TAP report (@jubianchi)
- #620 Add HTML coverage report from reports extension to AtoumTask for Phing (@oxman)
- #612 Add telemetry support to AtoumTask (@oxman)
- #611 Exclude vendor and composer.lock from phar (@jubianchi, @agallou)
- #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)
- #594 Add telemtry report to CI builds (@jubianchi)
- #600 Reports override correctly when using -ulr/-utr (@jubianchi)
- #593 Assertions on PHP 7 exceptions/throwables/errors are now working correctly (@jubianchi)
- #590 The
dateTime
asserter now fully supports\dateTimeImmutable
(@fferriere)
- #569 Use in-memory cache for resolved asserters (@jubianchi)
- #567 Extract loop logic from runner and add a looper interface (@jubianchi, @agallou)
- #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)
- #561 Use the fully qualified name when the return type is not
builtin
(@GuillaumeDievart)
- #556 The autoloader now handles traits (@jubianchi)
- #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 withtoArray
method onphpString
andobject
asserters) anditerator
asserters (@jubianchi) - #535 New
resource
asserter group (withisOfType
oris*
wildcard likeisStream
) (@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)
- #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)
- #520 Introduce the constant mocker (@hywan)
- #518 Update atoum's PHAR against Github releases with
--github-update
(@jubianchi) - #515 Fix PHP7 support in the basic resolver (@hywan)
- #516 Add a "callStaticOnTestedClass" method (@mikaelrandy)
- #530 Reset PHP7 configuration for tests (@jubianchi)
- #526 Mock asserter is not case sensitive (@mageekguy)
- #501 Add atoum path and version to default CLI report (@jubianchi)
- #502 Improve
setTestNamespace
parameters validation (@remicollet)
- f28a6ee "DOMElement::setIdAttribute(): ID otherMethod already defined" error (@jubianchi)
- #497 Fix fail message forwarding from
match
tomatches
in string asserter (@vonglasow) - #477 Fix exit code when there is something wrong in the configuration file (@jubianchi)
- #491 Fix
getTestMethodPrefix
when the prefix is"0"
(@remicollet) - #384 Short syntax for base assertions (@jubianchi)
- #467 Hide classes and methods coverage details in CLI report (@jubianchi)
- #474 Add the method return type and parameter type in the mock generator (@guillaumeDievart)
- #470 Add
isNotEmpty
asserter onarray
(@metalaka) - #476 Add relative url root choice for code coverage report (@n-couet)
- #459 Support branches and paths coverage with Xdebug 2.3 (@jubianchi)
- #436 Support old-style constructors in mocks (@jubianchi)
- #453
phpClass
asserter will throw atoum's logic exceptions instead of native reflection exceptions (@jubianchi) - #340 Fixed an error when using
DebugClassLoader
autoloader and atoum-bundle (@jubianchi) - #454 Rename asserters classes for PHP7 (@jubianchi)
- #457 Removed usage of die in deprecated methods (@jubianchi)
- #442 #444 Properly report skipped method due to a missing extension (@jubianchi)
- #441 Add PHP 7.0 in the build matrix (@jubianchi)
- #399 Add the
let
assertion handler (@hywan) - #443 Autoloader should resolve classes step by step (@jubianchi)
- #440
--configurations
option should be handled first (@jubianchi) - #439 Since atoum is 2.*, branch-alias must follow (@hywan)
- #437 Autoloader should not try to resolve alias if requested class exists (@jubianchi)
- Generalize method call checking in mock (@mageekguy)
- #435 Partially revert BC break introduced in #420 (@mageekguy)
- #420
atoum\test::beforeTestMethod
is called before the tested class is loaded (@mageekguy)
- #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 toatoum\asserters\mock::call
(@mageekguy)
- #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)
- #413 Fix a bug in the exit code management (@mageekguy)
- #412 Use semantics dates in
CHANGELOG.md
(@hywan)
- #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
andhash
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
tomatches
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)
- #377 Hide error when publishing report to coveralls.io fails (@jubianchi)
- #368 Improve dataset key reporting in case of failure (@mageekguy)
- #376 Add branch-alias (@stephpy, @hywan)
- #367 Add the
isFinal
assertion on thephpClass
/class
/testedClass
asserters (@mageekguy)
- 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 onvariable
- Add
isTestedInstance
assertion onobject
asserter - Add
testedInstance
helper - Add
newTestedInstance
andnewInstance
helpers - Add
isNotInstanceOf
assertion onobject
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