Skip to content

Commit

Permalink
run all tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ceeram committed Jun 21, 2012
1 parent a784a57 commit fb33d0e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ before_script:
}" > Config/database.php

script:
- Console/cake test app AllPluginTests
- Console/cake test app AllTests

notifications:
irc: "irc.freenode.org#infinitas"
2 changes: 1 addition & 1 deletion Test/Case/AllDeveloperTestsTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
class AllCoreTestsTest extends PHPUnit_Framework_TestSuite {
class AllDeveloperTestsTest extends PHPUnit_Framework_TestSuite {

/**
* Suite define the tests for this suite
Expand Down
9 changes: 5 additions & 4 deletions Test/Case/AllTestsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ class AllTestsTest extends PHPUnit_Framework_TestSuite {
* @return void
*/
public static function suite() {
$suite = new CakeTestSuite('All plugins test');
$suite->addTestFile('AllCoreTestsTest');
$suite->addTestFile('AllDeveloperTestsTest');
$suite->addTestFile('AllPluginTestsTest');
$suite = new CakeTestSuite('All test');
$path = APP . 'Test' . DS . 'Case' . DS;
$suite->addTestFile($path . 'AllCoreTestsTest.php');
$suite->addTestFile($path . 'AllDeveloperTestsTest.php');
$suite->addTestFile($path . 'AllPluginTestsTest.php');
return $suite;
}
}

0 comments on commit fb33d0e

Please sign in to comment.