jay@JAY C:\xampp\htdocs\Dev\core # php tests/parser/parserTests.php --file=tests/parser/parserTests.txt --record This is MediaWiki version 1.32.0-alpha (ed5ffab). WARNING> `testrun` table not found in database. Trying to create table. [8e5d2ad1ddbf513f4ea98682] [no req] Error from line 44 of C:\xampp\htdocs\Dev\core\tests\parser\DbTestRecorder.php: Call to undefined method Wikimedia\Rdbms\DatabaseMysqli::patchPath() Backtrace: #0 C:\xampp\htdocs\Dev\core\tests\parser\MultiTestRecorder.php(16): DbTestRecorder->start() #1 C:\xampp\htdocs\Dev\core\tests\parser\MultiTestRecorder.php(21): MultiTestRecorder->proxy(string, array) #2 C:\xampp\htdocs\Dev\core\tests\parser\ParserTestRunner.php(674): MultiTestRecorder->start() #3 C:\xampp\htdocs\Dev\core\tests\parser\parserTests.php(188): ParserTestRunner->runTestsFromFiles(array) #4 C:\xampp\htdocs\Dev\core\maintenance\doMaintenance.php(94): ParserTestsMaintenance->execute() #5 C:\xampp\htdocs\Dev\core\tests\parser\parserTests.php(199): require_once(string) #6 {main}
If I am not wrong then It made sql table automatically and resume?
print "WARNING> `testrun` table not found in database. Trying to create table.\n"; $this->db->sourceFile( $this->db->patchPath( 'patch-testrun.sql' ) ); echo "OK, resuming.\n";
I am able to run all parser test without --record parameter. But My console is not able to show all 1462 tests, It show only last 100 test. So I need to record the test data.