Testing and QA

phpunit --group annotation

 
 
Tim at Lone Pine Koala Sanctuary
Re: phpunit --group annotation
Group DevelopersGroup Documentation writersGroup Particularly helpful Moodlers

Yes, but what happens when you run

phpunit --group Link2Wiki

or

phpunit --group CompanyExtensions

 
Average of ratings: -
Picture of Rian Stockbower
Re: phpunit --group annotation
 

Nothing.

 

$ phpu --group Link2Wiki
Moodle 2.5 (Build: 20130514), mysqli
PHPUnit 3.7.24 by Sebastian Bergmann.

Configuration read from /var/www/html/moodle/phpunit.xml



Time: 0 ms, Memory: 197.50Mb

No tests executed!
vadev@rianjsmoodle: /var/www/html/moodle
$ phpu --group CompanyExtensions
Moodle 2.5 (Build: 20130514), mysqli
PHPUnit 3.7.24 by Sebastian Bergmann.

Configuration read from /var/www/html/moodle/phpunit.xml



Time: 0 ms, Memory: 198.00Mb

By contrast:

$ phpu filter_Link2Vistawiki_test ./filter/Link2Wiki/tests/filter_test.php
Moodle 2.5 (Build: 20130514), mysqli
PHPUnit 3.7.24 by Sebastian Bergmann.

Configuration read from /var/www/html/moodle/phpunit.xml

.........

Time: 1.81 seconds, Memory: 56.50Mb

OK (9 tests, 9 assertions)
 
Average of ratings: -