New limb_unit --methods option

Limb3 packages development issues

New limb_unit --methods option

Сообщение pachanga » Пн ноя 05, 2007 11:31 am

I committed an experimental patch to TESTS_RUNNER which allows to specify which test cases exactly should be executed. This is how it can be used:

$ limb_unit --methods=testFoo,testBar mytest.php


If mytest.php has the following contents:

Код: Выделить всё
class MyTest extends UnitTestCase
{
   function testFoo(){...}
   function testBar(){...}
   function testWow(){...}
}


...only testFoo and testBar methods will be executed
Аватара пользователя
pachanga
LIMB Developer
 
Сообщения: 4504
Зарегистрирован: Вс июн 06, 2004 7:29 pm
Откуда: Russia, Penza

Вернуться в Limb3 development

Кто сейчас на конференции

Сейчас этот форум просматривают: Google [Bot] и гости: 1

cron