Browse Source

Merge pull request #20 from alcaneo/patch-1

Add step to setup config file path in c3.php [skip ci]
Alexander Makarov 10 năm trước cách đây
mục cha
commit
dd79cbf417
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      tests/README.md

+ 2 - 0
tests/README.md

@@ -90,6 +90,8 @@ from codeception site.
 
 3. include `c3.php` file in your `index-test.php` file before application run, so it can catch needed requests.
 
+4. edit `c3.php` to update config file path (~ line 55) with `$config_file = realpath(__DIR__ . '../tests/codeception.yml');`
+
 Configuration options that are used by remote code coverage:
 
 - c3_url: url pointing to entry script that includes `c3.php` file, so `Codeception` will be able to produce code coverage;