Skip to content

Releases: keboola/datadir-tests

4.0.2

19 Mar 12:10
b01856c
Compare
Choose a tag to compare

Changelog

4.0.1

19 Mar 10:33
cd3901f
Compare
Choose a tag to compare

Changelog

  • return process from runTestWithCustomConfiguration method

Update packages to latest versions

05 Mar 11:11
c648b7e
Compare
Choose a tag to compare

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

04 Sep 16:10
0e146d9
Compare
Choose a tag to compare

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

05 Nov 12:34
5653b5f
Compare
Choose a tag to compare

Removed test process timeout

05 Nov 10:02
fcdc3ad
Compare
Choose a tag to compare

#15: The process timeout was removed. There is still 50 minutes build timeout on Travis in case something goes terribly wrong.

2.2.1

21 Oct 09:04
b26f103
Compare
Choose a tag to compare
Fix creating temp datadir folder (#14)

* Fix creating temp datadir folder

* Create Temp instance into property to avoid destruct removing when not referenced

Simplify creating test cases with custom config

17 Sep 15:20
70c2f94
Compare
Choose a tag to compare

Added runTestWithCustomConfiguration() in AbstractDatadirTestCase.php.

Support expectation of exit code

16 Jul 16:46
8c2b4f2
Compare
Choose a tag to compare

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

19 Jun 09:19
45531cb
Compare
Choose a tag to compare

Completely rewritten to work inside PHPUnit. For advanced cases you can take inspiration in keboola/curated-data-extractor#6