- #893 Drop PHP 7.4 support (@cedric-anne)
- #892 Fix
null
,true
andfalse
type handling (@cedric-anne) - #891 Update tested PHP versions (@cedric-anne)
- #890 Fix duplicate variable declaration on PHP 8.3 (@cedric-anne)
- #883 and #884 Handle
static
return type in mock generator (@shavounet) - #881 Fix PHP 8.2 compatibility issues (@cedric-anne)
- #868 Drop PHP 7.2 and PHP 7.3 support (@cedric-anne)
- #876 Properly handle output made in setUp() tearDown() and afterTestMethod() (@cedric-anne)
- #873 Migrate lint job on Github Actions (@cedric-anne)
- #872 Migrate Windows test job on Github Actions and add a MacOS test job (@cedric-anne)
- #871 Fix PHP8.1 compatibility issue related to unexpected arguments types (@cedric-anne)
- #870 Handle tentative return types in mocked methods (@cedric-anne)
- #865 Warning about return type break (@cedric-anne)
- #864 Fix UnionType handling in mock generator (@cedric-anne)
- #869 Fix deprecated usage of addcslashes (@cedric-anne)
- #860 Fix PHP8.1 compatibility issue related to missing return type & unserialize (@cedric-anne)
- #858 Fix PHP8.0 compatibility and CI matrix (@villfa)
- #853 Handle usage of assertions in
test::afterTestMethod()
(@cedric-anne)
- #707 Remove ide extension from atoum core (@Grummfy)
- #852 Rename namespace \mageekguy\atoum to \atoum\atoum (@Grummfy)
- #750 Remove implementation of test hooks (@jubianchi)
- #843 & #844 Compatibility with PHP 7 & 8 (@cedric-anne)
- #850 Fix some static call (@idetinkin)
- #846 Fix code styles (@cedric-anne)
- #845 Fix StyleCi configuration (@cedric-anne)
- #840 Remove unnecessary imports (@Hywan)
- #835 Fix deprecated, unparenthesized (PHP 7.4) (@trasher)
- #830 Add 7.4 to Travis (@remicollet)
- #833 Patch CLI output (@Grummfy)
- #829 fix appvoyer build (@cedric-anne)
- #827 Fix “
ReflectionType::__toString()
is deprecated” (@cedric-anne) - #777 cli output changed for displaying errors and exceptions clearly (@macintoshplus)
- #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)
- #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)
- #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)
- #746 CLI commands are correctly escaped (@agallou, @jubianchi)
- #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
andisWritten
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