User Tools

Site Tools

Translations of this page:


April 2021, this is outdated and needs reviewing. MD

Travis-CI testing of a phpList plugin

Based on the Travis-CI testing of phpList itself,, a plugin can be tested as well.

This is done by defining the Git repo of phpList as a dependency in composer. Once composer checks out phpList (without UI or anything, but for functionality that is not a problem) the config file can set the Plugin rootdir and you can run your unit tests.

config file

the config file

  • sets the plugin root dir to our plugin folder
  • auto-enables the plugin


the phpUnit tests

  • will test the plugin code


the behat config

  • will auto install phpList


the Travis config

  • will glue it all together

Test results

Travis will test every commit and send you the results

develop/plugin_automated_testing.txt · Last modified: 2021/04/20 21:52 by phplist

Contact Us


Boring Bit

phpList is a registered limited company

UK Company No. 07582966

VAT Registration 122 0788 37

© phpList 2016