I am trying run all test cases using phpunit on local but no lock
I have modified cakephp/src/View/Helper/FormHelper.php and tried to create pull request to merge, but when github running all tests, it failed all time,
My first question would rather be: Why are you creating a fork of the cakephp core to just adjust the FormHelper if you can just use a custom FormHelper yourself?
Yes I am trying to contribute to the core version.
See when we edit cakephp core files, github creates a fork and allow to edit files. after finishing changes we create pull request, then github runs all checks.
Thaniks @KevinPfeifer I tried to install sqlite globally but not able to configure, also I see sqlite extension is enabled in wamp php extensions.
I have downloaded cakephp core test cases, they were not downloaded in fresh cakephp install because they were in export-ignore, however I managed to download them.
when I try to run phpunit vendor\cakephp\cakephp\tests\TestCase\View\Helper\FormHelperTest.php
I am getting errors
1) Cake\Test\TestCase\View\Helper\FormHelperTest::testConstructTemplatesFile
Cake\Database\Exception\DatabaseException: Cannot describe articles. It has 0 columns.
D:\wamp\www\cakephp4.3.8\vendor\cakephp\cakephp\src\Database\Schema\Collection.php:120
D:\wamp\www\cakephp4.3.8\vendor\cakephp\cakephp\src\TestSuite\Fixture\FixtureHelper.php:284
D:\wamp\www\cakephp4.3.8\vendor\cakephp\cakephp\src\TestSuite\Fixture\FixtureHelper.php:249
D:\wamp\www\cakephp4.3.8\vendor\cakephp\cakephp\src\TestSuite\Fixture\FixtureHelper.php:138
D:\wamp\www\cakephp4.3.8\vendor\cakephp\cakephp\src\TestSuite\Fixture\FixtureHelper.php:123
D:\wamp\www\cakephp4.3.8\vendor\cakephp\cakephp\src\TestSuite\Fixture\FixtureHelper.php:136
D:\wamp\www\cakephp4.3.8\vendor\cakephp\cakephp\src\TestSuite\Fixture\TruncateStrategy.php:52
D:\wamp\www\cakephp4.3.8\vendor\cakephp\cakephp\src\TestSuite\TestCase.php:301
D:\wamp\www\cakephp4.3.8\vendor\cakephp\cakephp\src\TestSuite\TestCase.php:249
D:\wamp\www\cakephp4.3.8\vendor\cakephp\cakephp\tests\TestCase\View\Helper\FormHelperTest.php:79
If I debug $this->_connection in describe( function of cakephp\cakephp\src\Database\Schema\Collection.php
I got following output