{"action":"created","issue":{"url":"https://api.github.com/repos/Codeception/Codeception/issues/1622","labels_url":"https://api.github.com/repos/Codeception/Codeception/issues/1622/labels{/name}","comments_url":"https://api.github.com/repos/Codeception/Codeception/issues/1622/comments","events_url":"https://api.github.com/repos/Codeception/Codeception/issues/1622/events","html_url":"https://github.com/Codeception/Codeception/issues/1622","id":53307665,"number":1622,"title":"functional or acceptance tests report 0% coverage","user":{"login":"ThePeach","id":249718,"avatar_url":"https://avatars.githubusercontent.com/u/249718?v=3","gravatar_id":"","url":"https://api.github.com/users/ThePeach","html_url":"https://github.com/ThePeach","followers_url":"https://api.github.com/users/ThePeach/followers","following_url":"https://api.github.com/users/ThePeach/following{/other_user}","gists_url":"https://api.github.com/users/ThePeach/gists{/gist_id}","starred_url":"https://api.github.com/users/ThePeach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThePeach/subscriptions","organizations_url":"https://api.github.com/users/ThePeach/orgs","repos_url":"https://api.github.com/users/ThePeach/repos","events_url":"https://api.github.com/users/ThePeach/events{/privacy}","received_events_url":"https://api.github.com/users/ThePeach/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-01-03T16:04:25Z","updated_at":"2015-01-17T16:49:36Z","closed_at":null,"body":"If I run\r\n\r\n    $ ../vendor/bin/codecept run acceptance --coverage --coverage-html \r\n\r\nI get a report generated:\r\n\r\n```\r\nRemote CodeCoverage reports are not printed to console\r\n\r\nHTML report generated in coverage\r\n```\r\n\r\nbut the reports are actually stating a 0% coverage\r\n\r\nThis is done using Yii2 basic app and the following codeception configuration:\r\n\r\n```yaml\r\n# /tests/codeception.yml\r\nactor: Tester\r\npaths:\r\n    tests: codeception\r\n    log: codeception/_output\r\n    data: codeception/_data\r\n    helpers: codeception/_support\r\nsettings:\r\n    bootstrap: _bootstrap.php\r\n    suite_class: \\PHPUnit_Framework_TestSuite\r\n    memory_limit: 1024M\r\n    log: true\r\n    colors: true\r\nconfig:\r\n    test_entry_url: /index-test.php\r\ncoverage:\r\n    enabled: true\r\n    remote: true\r\n    remote_config: ../tests/codeception.yml\r\n    include:\r\n        - ../models/*\r\n        - ../modules/*\r\n        - ../controllers/*\r\n    c3_url: 'https://basic-dev.yii2.sandbox/index-test.php/'\r\n```\r\n\r\nthe tests alone are working without issues and reporting a *passed* state."},"comment":{"url":"https://api.github.com/repos/Codeception/Codeception/issues/comments/70373858","html_url":"https://github.com/Codeception/Codeception/issues/1622#issuecomment-70373858","issue_url":"https://api.github.com/repos/Codeception/Codeception/issues/1622","id":70373858,"user":{"login":"ThePeach","id":249718,"avatar_url":"https://avatars.githubusercontent.com/u/249718?v=3","gravatar_id":"","url":"https://api.github.com/users/ThePeach","html_url":"https://github.com/ThePeach","followers_url":"https://api.github.com/users/ThePeach/followers","following_url":"https://api.github.com/users/ThePeach/following{/other_user}","gists_url":"https://api.github.com/users/ThePeach/gists{/gist_id}","starred_url":"https://api.github.com/users/ThePeach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThePeach/subscriptions","organizations_url":"https://api.github.com/users/ThePeach/orgs","repos_url":"https://api.github.com/users/ThePeach/repos","events_url":"https://api.github.com/users/ThePeach/events{/privacy}","received_events_url":"https://api.github.com/users/ThePeach/received_events","type":"User","site_admin":false},"created_at":"2015-01-17T16:49:36Z","updated_at":"2015-01-17T16:49:36Z","body":"I've tried replacing the `include`configuration with the one you have:\r\n\r\n```yaml\r\n    white_list:\r\n        include:\r\n            - ../models/*\r\n            - ../modules/*\r\n            - ../controllers/*\r\n            - ../commands/*\r\n            - ../mail/*\r\n    blacklist:\r\n        include:\r\n            - ../assets/*\r\n            - ../build/*\r\n            - ../config/*\r\n            - ../runtime/*\r\n            - ../vendor/*\r\n            - ../views/*\r\n            - ../web/*\r\n            - ../tests/*\r\n```\r\n\r\nand I'm now getting the following summary output at the end of the functional tests:\r\n\r\n```\r\nOK (6 tests, 49 assertions)\r\n\r\n\r\nCode Coverage Report:  \r\n  2015-01-17 16:43:05  \r\n                       \r\n Summary:              \r\n  Classes:        (0/0)\r\n  Methods:        (0/0)\r\n  Lines:          (0/0)\r\n```\r\n\r\nthe reports dashboard.html and index.html do not contain anything either.\r\nHaven't tried moving to `stable` yet and I'd like to keep it as last resource."}}