{"action":"closed","issue":{"url":"https://api.github.com/repos/Codeception/Codeception/issues/4826","repository_url":"https://api.github.com/repos/Codeception/Codeception","labels_url":"https://api.github.com/repos/Codeception/Codeception/issues/4826/labels{/name}","comments_url":"https://api.github.com/repos/Codeception/Codeception/issues/4826/comments","events_url":"https://api.github.com/repos/Codeception/Codeception/issues/4826/events","html_url":"https://github.com/Codeception/Codeception/issues/4826","id":298897202,"number":4826,"title":"No tests executed!  - Unit Testing","user":{"login":"Roobix13","id":27815032,"avatar_url":"https://avatars1.githubusercontent.com/u/27815032?v=4","gravatar_id":"","url":"https://api.github.com/users/Roobix13","html_url":"https://github.com/Roobix13","followers_url":"https://api.github.com/users/Roobix13/followers","following_url":"https://api.github.com/users/Roobix13/following{/other_user}","gists_url":"https://api.github.com/users/Roobix13/gists{/gist_id}","starred_url":"https://api.github.com/users/Roobix13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Roobix13/subscriptions","organizations_url":"https://api.github.com/users/Roobix13/orgs","repos_url":"https://api.github.com/users/Roobix13/repos","events_url":"https://api.github.com/users/Roobix13/events{/privacy}","received_events_url":"https://api.github.com/users/Roobix13/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-02-21T09:32:06Z","updated_at":"2018-02-21T14:35:20Z","closed_at":"2018-02-21T14:35:20Z","author_association":"NONE","body":"I wanted to start with starting unit tests.\r\n\r\nWhen i run \r\n\r\n`php ./vendor/bin/codecept run acceptance `- everthing works fine, but when i try to run\r\n`php ./vendor/bin/codecept run suit with` this test case: \r\n\r\n```\r\n<?php\r\n\r\nuse login\\LoginFormCest;\r\n\r\nabstract class LoginFormTest extends PHPUnit\\Framework\\TestCase\r\n\r\n{\r\n    /**\r\n     * @var \\UnitTester\r\n     */\r\n    protected $tester;\r\n    \r\n    protected function _before()\r\n    {\r\n    }\r\n\r\n    protected function _after()\r\n    {\r\n    }\r\n\r\n    // tests\r\n    public function testSomeFeature()\r\n    {\r\n       $foo = true;\r\n       $this->assertTrue($foo);\r\n    }\r\n}\r\n\r\n```\r\ni get as an output\r\n\r\n`No tests executed!`\r\n\r\nEDIT:\r\n\r\n`$this->assertTrue($foo);` **It says**  \r\n\r\n> Method 'assertTrue' not found in LoginFormTest\r\n\r\nEDIT2:\r\n\r\nInvalidating Cache and Restart, solved the first EDIT problem.\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"Roobix13"}}