Skip to content

Commit

Permalink
Add code coverage option for codeception
Browse files Browse the repository at this point in the history
  • Loading branch information
krazzer committed Aug 14, 2019
1 parent fc47f08 commit ba7eced
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
15 changes: 14 additions & 1 deletion codeception.yml
Expand Up @@ -9,4 +9,17 @@ extensions:
enabled:
- Codeception\Extension\RunFailed
settings:
bootstrap: _bootstrap.php
bootstrap: _bootstrap.php
coverage:
include:
- src/*
remote: false
show_only_summary: true
enabled: true
work_dir: /opt/project
remote_context_options:
http:
timeout: 60
ssl:
verify_peer: false
verify_peer_name: false
2 changes: 1 addition & 1 deletion tests/acceptance.suite.yml
Expand Up @@ -8,6 +8,6 @@ actor: AcceptanceTester
modules:
enabled:
- PhpBrowser:
url: https://kikcmstest.dev/cms
url: https://kikcmstest.dev
- \Helper\Acceptance
step_decorators: ~
3 changes: 1 addition & 2 deletions tests/functional/DataFormCest.php
@@ -1,9 +1,8 @@
<?php

declare(strict_types=1);

namespace functional;


use FunctionalTester;

class DataFormCest
Expand Down
3 changes: 1 addition & 2 deletions tests/functional/LoginCest.php
@@ -1,9 +1,8 @@
<?php

declare(strict_types=1);

namespace functional;


use FunctionalTester;

class LoginCest
Expand Down

0 comments on commit ba7eced

Please sign in to comment.