- [NEW] Introduced focused specs for powerful test isolation (#199, #204, #197, #194, #188, #185, #181)
- [NEW] Support for multiple reporters (#202, #186)
- [IMPROVED] Stack trace output now excludes irrelevant information (#203, #170)
- [FIXED] Fixed error handler signature (#198 - thanks @YuraLukashik)
- [FIXED] Fixed
--configuration
command line option parsing (#201, #171)
- Symfony console version constraint fixed
- Tests now fail when an error occurs - not just exceptions.
- Suite type hints on
TestInterface
instead ofAbstractTest
- Add
--force-color
option (thanks @vicary)
- Fixed strict standards warning (thanks @mrkrstphr)
- Eliminate duplicate directory separators in path info
- Allow test and suite definitions to be invoked with arguments via
TestInterface::setDefinitionArguments
andTestInterface::getDefinitionArguments
- Added count accessors to
TestResult
runner.end
event now receives the run time as an argument
AbstractTest
objects now include the file path associated with them viagetFile()
Command::getRunner()
andCommand::setRunner()
added
- Exception type hinting no longer required in test results and reporters
- Configuration variables persisted to ENV
- The
Context
class now supports aclear
method to reset loaded suites.
RunnerInterface
added for custom Runners to implement- The
Application
class added methodssetRunner
,getRunner
,getEnvironment
,getConfiguration
, andsetConfiguration
- The
peridot.configure
event is passed an additional argument that is theApplication
instance
- Support HHVM 3.5 nightly autoload path in
bin/peridot
- Update all scope refs to core scope
- Adds Core Scope back as an extension of scope module
- Pull scope into separate package
- Multi-line exception messages indent each line
AbstractTest::forEachNodeBottomUp
andforEachNodeTopDown
traversal methods added to public API
- ANSI sequences are now sub process friendly
- Fail tests if exceptions thrown in tear downs
- Fixed bug where manually specified config file was not being included
- Silly dependency on
ArrayObject
removed - Parent scope now correctly passed to children
- Setup and tear down functions execute in proper order
- Removed
Scope::BEHAVIOR_
constants and code depending on them
- Introduce scope behaviors
- Fix order of execution for setup and tear-down functions
- Added
Suite::setTests
method
- Include DSLs only once
peridot.start
event includes application as second argument
- PSR-2 compliance use PSR-2 config in code sniffer
- Added coveralls.io support
Application::getInput()
accepts optional argv
- Got a rad 10.0 quality score on Scrutinizer CI
- Reduced complexity of Environment
- Improved code coverage of core
- Added
Suite::halt()
to public API
- Reduced complexity of console command
- Reduced complexity of
AbstractBaseReporter
- Reduced complexity of
Test
- Improve build process
- Reduced complexity of
ReporterFactory
- Reduced complexity of
ConfigurationReader
- Various unused variable removals
- Support nullable
Test
definitions - i.e auto pending tests