c3 icon indicating copy to clipboard operation
c3 copied to clipboard

Remote CodeCoverage for Codeception. Part of Codeception testing framework.

Results 9 c3 issues
Sort by recently updated
recently updated
newest added

After reviewing #85 (good work keep it going!) I thought of a different approach to code coverage that might work cleanly as well. The idea: 1. Before a test starts,...

This PR is a first step in improving https://github.com/Codeception/c3/issues/40 applying the same solution as https://github.com/Codeception/c3/pull/72 Instead of having a copy of c3.php in the project root it can be included...

**codeception.yml like this:** ![image](https://user-images.githubusercontent.com/77383326/151323074-c4d807d8-db39-49b8-a325-583c189729f1.png) **api.suit.yml like this:** ![image](https://user-images.githubusercontent.com/77383326/151323115-2ad932fe-796d-40e9-b0be-05ec90be2f74.png) **index.php** ![image](https://user-images.githubusercontent.com/77383326/151323156-3ac0c970-bafa-4bb1-9b64-f5cb3977eb10.png) when i test in command: php vendor/codeception/codeception/codecept run --coverage --coverage-xml --coverage-html _output/coverage:open the html ,nothing to test result all zero;how...

Improve error handling in a number of ways (see commit messages). If not all parts of this PR are desirable in general, feel free to cherry pick. Also fixes https://github.com/Codeception/c3/issues/41...

I see no reason why it should not be included via composer autoloader or manually from within the vendor folder. Is there any?

### To run report: ``` composer global require psecio/parse ~/.composer/vendor/bin/psecio-parse scan c3.php ``` ### And its results: 1) /var/www/html/tests/c3.php on line 45 'header()' calls should not use concatenation directly ```...

If these lines fail: ```php try { \Codeception\Configuration::config($config_file); } catch (\Exception $e) { __c3_error($e->getMessage()); } ``` due to `\Codeception\Configuration` not existing, then ```php $errorLogFile = defined('C3_CODECOVERAGE_ERROR_LOG_FILE') ? C3_CODECOVERAGE_ERROR_LOG_FILE : C3_CODECOVERAGE_MEDIATE_STORAGE...

# Description # I seem to receiving an error when trying to generate code coverage for functional tests inside Vagrant. The tests run and the code coverage generates fine but...

While debugging for this issue https://github.com/Codeception/Codeception/issues/4871, I keep getting message `Could not write error to log file`. When I traced the cause, it's from here. https://github.com/Codeception/c3/blob/c7348bbc82da82834fe237c5fb754003ac0fe782/c3.php#L36-L43 Apparently the `c3tmp` directory...