16 Commits

Author SHA1 Message Date
Bharat Mediratta
feed100337 Revert "Return "1" to CLI if not all unit tests pass.". We're not successfully
passing back $all_passed because the function doesn't take it by reference.  Which
is my fault because I gave Jozefs bad advice.  But I don't think it's necessary anyway
so I'm going to try a different approach.

This reverts commit 4fe07c6b0a.

Conflicts:
	modules/gallery_unit_test/controllers/gallery_unit_test.php
2013-03-06 16:38:38 -05:00
Jozef Selesi
4fe07c6b0a Return "1" to CLI if not all unit tests pass. 2013-03-04 23:29:47 +01:00
Bharat Mediratta
587284ab38 Move the test time limit code into Unit_Test since some parts of the
code (like ORM_MPTT) mess with the time limit which interferes with
the overall time limit set in Gallery_Unit_Test_Controller.
2010-12-15 11:17:22 -08:00
Bharat Mediratta
7d8f76fa7a Fix the translation keys to not require "unit_test." as a prefix. 2009-12-21 12:07:20 -08:00
Bharat Mediratta
91e39f75a2 Hardcode language translations since K24 now does it totally differently. This forks the code, but it's reached the end of its development path and we should replace it with phpunit anyway 2009-12-21 11:29:13 -08:00
Bharat Mediratta
b0cb3c7402 Update Kohana to r4374 2009-05-29 12:00:49 -07:00
Bharat Mediratta
6d1f85463b Update Kohana to r4357 2009-05-26 22:13:38 -07:00
Bharat Mediratta
fd0c0a608a Updated kohana and modules/unit_test to upstream r4356 2009-05-18 00:14:07 +00:00
Bharat Mediratta
3131662c19 Reapply r19116:
Add support for filtering tests down to the Class::method level.

Upstream ticket:
  http://dev.kohanaphp.com/ticket/961
2008-12-15 09:51:48 +00:00
Bharat Mediratta
b5e6f79f5f Reapply patch to make tests always call teardown.
Upstream ticket:
  http://dev.kohanaphp.com/ticket/960
2008-12-15 09:45:55 +00:00
Bharat Mediratta
628058b4ed Refresh from kohana svn trunk r3771 2008-12-15 08:52:32 +00:00
Bharat Mediratta
31759cb3b3 Delete trunk/kohana and trunk/modules/unit_test in preparation to refresh
them properly from the vendor branch.
2008-12-15 08:37:09 +00:00
Bharat Mediratta
697c2503ae Add support for filtering tests down to the Class::method level. 2008-12-12 05:02:44 +00:00
Bharat Mediratta
03bc3c281e Make sure that we always run teardown, even when the test throws an exception 2008-12-03 19:09:16 +00:00
Bharat Mediratta
53664787d4 Add a filter to unit tests. Now you can do 'php index.php Album_Helper_Test Photo_Helper_Test' to just run those two 2008-12-03 06:00:30 +00:00
Bharat Mediratta
f8b4c66906 Set up unit test framework. Tweak configuration so that it only runs in
command line mode, and expects to put data into test/var.  Create a module
to wrap it that generates a nice text-only view of the output.
2008-11-01 07:55:48 +00:00