Manual:preprocessorFuzzTest.php
Appearance
MediaWiki version: | ≥ 1.9 |
MediaWiki file: preprocessorFuzzTest.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.43.0 • 1.42.4 • 1.39.11 |
Classes: | PPFuzzTest • PPFuzzTester • PPFuzzUser |
Details
[edit]preprocessorFuzzTest.php file is a maintenance script to perform fuzz-style testing of MediaWiki's preprocessor.
Fuzz-style testing works by generating random text to test.
Options
[edit]This script does not accept any options.
Usage
[edit]php maintenance/run.php preprocessorFuzzTest
Terminal
$ php maintenance/run.php preprocessorFuzzTest 50000 tests done 100000 tests done 150000 tests done 200000 tests done 250000 tests done 300000 tests done 350000 tests done 400000 tests done 450000 tests done 500000 tests done 550000 tests done 600000 tests done
In MediaWiki version 1.39.10 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php
instead of php maintenance/run.php scriptName
.