Releases: keboola/datadir-tests
Releases · keboola/datadir-tests
4.0.2
4.0.1
Changelog
- return process from runTestWithCustomConfiguration method
Update packages to latest versions
Changelog
- update keboola/php-temp 1.0 -> 2.0
- update phpunit/phpunit 7.0 -> 9.0
- update symfony/filesystem 4.0 -> 5.0
- update symfony/finder 4.0 -> 5.0
- update symfony/process 4.0 -> 5.0
Enforce that at least one of expected folder or expected code must be present
When using the "simple" specification provider from directory (i.e. create directory with source/ and /expected) at least one of expected folder or expected code must be present. This is a BC break because before this was a valid case.
Added in #20
Revert BC break from 2.2.1
Fixed in #16
Removed test process timeout
#15: The process timeout was removed. There is still 50 minutes build timeout on Travis in case something goes terribly wrong.
2.2.1
Simplify creating test cases with custom config
Added runTestWithCustomConfiguration()
in AbstractDatadirTestCase.php
.
Support expectation of exit code
Test now assert application exit-code. You can specify the code in file called expected-code
. Allowed values are 0
, 1
, 2
.
Solve #8
Complete refactoring to work inside PHPUnit
Completely rewritten to work inside PHPUnit. For advanced cases you can take inspiration in keboola/curated-data-extractor#6