We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug I started to write tests in my app and CodeIgniter generate these warnings
1) Warning No tests found in class "CodeIgniter\Test\CIDatabaseTestCase". 2) Warning No tests found in class "CodeIgniter\Test\CIUnitTestCase".
I tried to manually configure my phpunit.xml but it didn't work. Easiest way to solve this according to internet is by set these class to abstract.
abstract
CodeIgniter 4 version 4.0.4
Expected behavior, and steps to reproduce if appropriate Out of the box, should not generate these warning.
phpunit.xml that i tried:
<?xml version="1.0" encoding="UTF-8"?> <phpunit bootstrap="vendor/codeigniter4/framework/system/Test/bootstrap.php" ...> <testsuites> <testsuite name="app"> <directory>./tests</directory> <exclude> ./vendor/codeigniter4/framework/system/Test/CIDatabaseTestCase.php </exclude> </testsuite> </testsuites> <filter> <whitelist addUncoveredFilesFromWhitelist="false" processUncoveredFilesFromWhitelist="false"> <directory suffix=".php">./app</directory> <exclude> <directory suffix=".php">./app/Views</directory> <file>./app/Config/Routes.php</file> </exclude> </whitelist> </filter> <logging> ... </logging> <php> ... </php> </phpunit>
Context
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
I started to write tests in my app and CodeIgniter generate these warnings
I tried to manually configure my phpunit.xml but it didn't work. Easiest way to solve this according to internet is by set these class to
abstract
.CodeIgniter 4 version
4.0.4
Expected behavior, and steps to reproduce if appropriate
Out of the box, should not generate these warning.
phpunit.xml that i tried:
Context
The text was updated successfully, but these errors were encountered: