The official Autoptimize repo on GitHub can be found here.
This version of Autoptimize is based on zytzagoo's fork, incorporating many changes making the codebase more modern, readable and testable. Kudo's to Tomas for a job well done!
- Install wp test suite by running
bin/install-wp-tests.sh
- Run
composer install
- Now you should be able to run either
composer test
orphpunit
Have a read through tests/test-ao.php
and tests/bootstrap.php
if you'd like to know more.
Ideally, this should be switched to a more modern setup using https://github.com/Brain-WP/BrainMonkey -- once the AO codebase allows for easier testing. One day, maybe.