Skip to content

futtta/autoptimize

Repository files navigation

Autoptimize

The official Autoptimize repo on GitHub can be found here.

Autoptimize NextGen

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!

Installing/running the tests

  • Install wp test suite by running bin/install-wp-tests.sh
  • Run composer install
  • Now you should be able to run either composer test or phpunit

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.