Upload the.zip file in 'Plugins > Add New page, or copy the directory to your wp-content plugins directory, using your method.
The simplest way to utilize it's by adding query arg to your URL that contains the path to your tests..
This will load set of unit tests located in plugin's tests directory. function add unit tests { $files = array foreach as $filename ) { $file = basename $files = plugins url } $settings = array merge return $settings } add filter ..
You may want to have the runner load everytime on certain page or section the admin, so this is example of overriding that setting as well.
Q What if I would like to have the runner always running, and not append query string to URL each time..
Jasmine Test Runner can run the order by adding &random=true to your query string...
The number and seed URL are displayed in Jasmine Test Runner status bar when you've selected to run random or seed.
If you need to obtain this seed,jasmine-seed-bar class contains the link to run the seed, and the text is the seed number...
If you wish to use your own seed algorithm, you can specify the resulting seed by appending &seed=YOUR SEED. Where YOUR SEED is, should be the resulting seed you've generated...
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Read more