Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Hello Preflightcheck

Preflightcheck runs various php test scripts to avoid errors when developing and deploying. Preflightcheck is easily extensible.

How do I run the tests?

Just open the Hello Preflightcheck page found in the Tools section.

How often are the tests executed?

These tests are only executed by manually opening the Hello Preflightcheck page (found in the Tools section). Therefore it's no problem if some of these tests take a bit of time.

Should I write own tests?

Definitely yes!

How do I write my own tests?

Every test lives in the tests directory (wp-content/plugins/hello-preflightcheck/tests) or in a subdirectory. It has the following:

  1. a JavaDoc/phpdoc style comment that provides the test description.
  2. Some logic for the test itself.
  3. Exactly one method of the following:
  • $check->info($message): for showing information without any evaluation
  • $check->success($message): for successful test results
  • $check->warning($message): for test results that might cause a problem
  • $check->error($message): for test results that definitely will cause a problem
  • $check->ignore(): if no output is provided.

Additionally you may use $check->showList() to output an array as a list.

Have a look at the existing tests to see how it works.

Can I remove tests?

Yes, just throw them away. But why should you?

Can I contribute tests?

Yes, please! Just send me a mail at olaf@hellofuture.se with the test and I will add each useful test as soon as I can.

Requires: 2.7 or higher
Compatible up to: 3.4.2
Last Updated: 4 years ago
Active Installs: 10+


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1 100,1,1