rask / wprsrv

wprsrv is a reservations plugin for WordPress
http://www.wprsrv.org
Other
1 stars 0 forks source link

Write tests #6

Open rask opened 8 years ago

rask commented 8 years ago

Most of the plugin code is not tested with unit tests. And I'm not certain whether I'm Doing It Right™ or not with the current basic tests.

rask commented 8 years ago

Is there a "standard" way of automatically testing WordPress plugins using Travis CI?

rask commented 8 years ago

Okay, a base for automated Travis tests is in place, needs some fixing (e.g. the plugin does not load there).

rask commented 8 years ago

Travis started working. Realized that PHPUnit 5+ requires PHP 5.6+ so testing needs to be done on some other PHPUnit version, perhaps 4.8. We'll see. Maybe we can be a bit forward thinking and presume the plugin works on PHP 5.5 without testing.