DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:unittesting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
devel:unittesting [2020-05-06 12:00]
Klap-in [Plugins]
devel:unittesting [2020-05-06 12:23] (current)
Klap-in [Continous Integration with Travis CI] requirements.txt
Line 246: Line 246:
 Plugin authors are encouraged to register their plugins with [[https://travis-ci.org|Travis CI]] to have automated testing. The [[http://pluginwizard.dokuwiki.org/|Plugin Wizard]] adds an appropriate ''.travis.yml'' to your plugin when you select the Unit Test option. The needed build environment is provided by the [[https://github.com/splitbrain/dokuwiki-travis|dokuwiki-travis script]]. Plugin authors are encouraged to register their plugins with [[https://travis-ci.org|Travis CI]] to have automated testing. The [[http://pluginwizard.dokuwiki.org/|Plugin Wizard]] adds an appropriate ''.travis.yml'' to your plugin when you select the Unit Test option. The needed build environment is provided by the [[https://github.com/splitbrain/dokuwiki-travis|dokuwiki-travis script]].
  
 +==== Requirements ====
 +If your tests require additional plugins to be installed, provide a ''requirements.txt'' file in your plugin's root directory. See for the details the  [[https://github.com/splitbrain/dokuwiki-travis#plugins-with-dependencies|README ]] in the dokuwiki-travis repository.
 ==== Javascript + Frontend-tests ==== ==== Javascript + Frontend-tests ====
  
devel/unittesting.txt ยท Last modified: 2020-05-06 12:23 by Klap-in