Warning This project is in development and tests are currently not running automatically.
This project tests if plugins and themes from WordPress.org are compatible with WordPress Playground.
If you are a plugin or theme developer you can find logs for your project in the logs/(plugin|theme)/[first-letter]/[slug]
folder.
You can find how the error rate is changing over time in the Playground Error Report. To see the exact errors generated Playground tests, check out SQL Errors Report and PHP Errors Report.
update-available-themes-and-plugins.sh
- Updates the list of plugins and themes (soon) to test. The update runs daily.run-batch.sh
- Tests a batch of items that haven't been tested for the longest time. It runs continuously.run-tests.sh
- Tests a single item and can run multiple tests.generate-blueprint.sh
- Builds a base blueprint for the item.- Test script are located in
tests/[test-name].sh
. - Raw results are stored in
logs/(plugin|theme)/[slug]/[test-name]/error.log
. - Parsed results are stored in
logs/(plugin|theme)/[slug]/[test-name]/error.json
. - (Soon) A report for the plugin/theme is generated in
logs/(plugin|theme)/[slug]/[test-name]/report.md
. - After every test run new logs are pushed to git.
- (Soon)
parser.sh
- Parses the logs and extracts errors. It runs at the end ofrun-tests.sh
.
- (Soon)
reporter.sh
- Generates a report from the logs. It runs daily and uses the current state of the logs.
- Bash shell (available by default on most Unix-based systems, including Linux and macOS)
git
version control systemjq
: command-line JSON processornode
: JavaScript runtimenvm
: Node Version Manager (it's shipped with the project in the.nvm
folder)
- Clone the repository:
git clone --recurse-submodules https://github.com/bgrgicak/playground-tester.git
- Install dependencies:
npm install
./scripts/update-available-themes-and-plugins.sh
./scripts/run-batch.sh --batch-size 100 --plugins
./scripts/run-batch.sh --batch-size 100 --themes
./scripts/generate-reports.sh