Well i want to create a manager to be able to create a test suite with maybe 10 tests cases and be able to choose the tests cases to run, for example:
class Test extends \PHPUnit_Extensions_SeleniumTestCase
{
constants...
protected function setUp()
{
$this->setBrowser(self::BROWSER);
$this->setBrowserUrl(self::URL);
}
public function testFirst()
{
code...
}
public function testSecond()
{
code...
}
public function testThird()
{
code...
}
}
I want to be able to tell to phpunit to just run testSecond and testThird and will not execute testThird.
I have a idea to do this: Creating separated testSuites (classes) one for each test.
There is a better way to do this?
Thanks!
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire