Skip to content

Releases: Codeception/c3

Avoid read/write collisions

21 Jan 00:36
Compare
Choose a tag to compare
  • Fixed writing coverage summaries for parallel requests. See #25
  • added check for class_exists PHP_CodeCoverage before declaring alias toit

Minor fixes

16 Sep 22:59
Compare
Choose a tag to compare
  • Fixed memory check for bytes and gigabytes #23
  • Use package events instead of command events for Composer installations #22

Fixes by @Naktibalda

Codeception v2.2 compatibility

10 Jul 20:54
Compare
Choose a tag to compare
  • Added shim for PHP CodeCoverage v.4 by @sharky98

Verify directory for codecoverage report exists

28 Nov 10:20
Compare
Choose a tag to compare

Minor patch which ensures that directory to store codecoverage report exists. Adds just this line:

                if (!file_exists(dirname($current_report))) { // verify directory exists
                    mkdir(dirname($current_report), 0777, true);
                } else {
                    __c3_error("Can't write CodeCoverage report into $current_report");
                }

New Installer added, PRs merged

25 Nov 04:19
Compare
Choose a tag to compare
  • codeception/c3 is now a Composer plugin and installs c3.php by automatically. Please remove old post-install and post-update hooks from composer.json.
  • Installer will ask to replace c3.php file on update for not to overwrite local changes (with help of @jasny)
  • Fixed loading of codeception functions (by @raistlin)
  • Changed priority of autoloader (by @raistlin):

I think this new order has lot more sense:
1st. If codecept.phar file exists, load classes from there.
2nd. If autoloader exists, load it.
2nd-b. In case autoloader of codeception exists in vendor path, also it should be loaded, if not, some methods like 'codeception_relative_path' will not be loaded and Codeception/c3 will fail to load.
3rd. Try to load codeception autoloader (outside of vendor's path)
4th, Fail, no autoloader found.

  • Allow c3 to use codeception.dist.yml by @gammamatrix
  • Solution for Undefined variable C3_CODECOVERAGE_MEDIATE_STORAGE in __c3_error by @rhertogh #14

2.0.3

19 Jan 07:28
Compare
Choose a tag to compare
  • #12 Fixed codecoverage header check