Closed myalcin81 closed 2 years ago
Cannot reproduce.
$ php -v
PHP 8.1.10 (cli) (built: Sep 4 2022 05:02:55) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.10, Copyright (c) Zend Technologies
with Xdebug v3.1.5, Copyright (c) 2002-2022, by Derick Rethans
with Zend OPcache v8.1.10, Copyright (c), by Zend Technologies
$ composer create-project kenjis/codeigniter-composer-installer ci3
$ cd ci3/
$ composer require phpunit/phpunit --dev
$ composer require kenjis/ci-phpunit-test:3.x-dev --dev
$ php vendor/kenjis/ci-phpunit-test/install.php --from-composer
$ vendor/bin/phpunit -c application/tests/
PHPUnit 9.5.24 #StandWithUkraine
... 3 / 3 (100%)
Time: 00:00.216, Memory: 12.00 MB
OK (3 tests, 3 assertions)
Generating code coverage report in Clover XML format ... done [00:00.009]
Generating code coverage report in HTML format ... done [00:00.044]
Found the solution in here: https://github.com/kenjis/ci-phpunit-test/issues/70 I didn't have a testing folder as well as on the issue #70 my config folder structure was like; config