Ejemplo n.º 1
0
 public static function suite()
 {
     $testSuite = new AllTest('Phpunittest');
     $testSuite->addTest(new UsernameValidation("testValidation"));
     $testSuite->addTest(new DateValidation("testDate"));
     $testSuite->addTest(new EmailVerification("testEmail"));
     return $testSuite;
 }
Ejemplo n.º 2
0
 public static function suite()
 {
     $suite = new AllTest();
     $suite->setName('AllTestsuite');
     $suite->addTest(UserModules::suite());
     return $suite;
 }
Ejemplo n.º 3
0
 public static function suite()
 {
     $testSuite = new AllTest('Phpunittest');
     $testSuite->addTest(new Home("testString"));
     return $testSuite;
 }