Skip to content

running tests

Tim Hodson edited this page Feb 23, 2016 · 1 revision

Running Tests

This all assumes that you are using mdk to manage multiple Moodle version creation and teardown.

Setup

# this will setup phpunit in a stable_28 moodle install
mdk phpunit stable_28

Running Tests for this module

vendor/bin/phpunit mod_aspirelists_lib_testcase mod/aspirelists/tests/lib_test.php
Clone this wiki locally