- 04 7月, 2012 2 次提交
-
-
由 Carlos Antonio da Silva 提交于
Runner method was removed in ada571bf.
-
由 Aaron Patterson 提交于
-
- 29 5月, 2012 2 次提交
-
-
由 James Mead 提交于
-
由 James Mead 提交于
Neither Test::Unit nor MiniTest rescue exceptions like Interrupt or NoMemoryError, but ActiveSupport::Testing::SetupAndTeardown#run which overrides MiniTest::Unit::TestCase#run rescues them. Rescuing an Interrupt exception is annoying, because it means when you are running a lot of tests e.g. when running one of the rake test tasks, you cannot break out using ctrl-C. Rescuing exceptions like NoMemoryError is foolish, because the most sensible thing to happen is for the process to terminate as soon as possible. This solution probably needs some finessing e.g. I'm not clear whether the assumption is that only MiniTest is supported. Also early versions of MiniTest did not have this behaviour. However, hopefully it's a start. Integrating with Test::Unit & MiniTest has always been a pain. It would be great if both of them provided sensible extension points for the kind of things that both Rails and Mocha want to do.
-
- 07 1月, 2012 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 27 12月, 2011 1 次提交
-
-
由 Vishnu Atrai 提交于
-
- 01 2月, 2011 1 次提交
-
-
由 John Firebaugh 提交于
Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
- 24 7月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 20 4月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
Signed-off-by: NXavier Noria <fxn@hashref.com>
-
- 31 12月, 2009 1 次提交
-
-
由 José Valim 提交于
-
- 30 12月, 2009 1 次提交
-
-
由 José Valim 提交于
-
- 09 11月, 2009 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 15 10月, 2009 4 次提交
-
-
由 Jeremy Kemper 提交于
This reverts commit 29b28066.
-
由 Jeremy Kemper 提交于
This reverts commit 610e94c0.
-
由 Jeremy Kemper 提交于
These rely on constant autoloads. This reverts commit d39f397d.
-
由 Michael Koziarski 提交于
-
- 13 10月, 2009 3 次提交
-
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
- 30 6月, 2009 1 次提交
-
-
由 Carl Lerche 提交于
-
- 10 4月, 2009 1 次提交
-
-
- 07 4月, 2009 1 次提交
-
-
- 11 3月, 2009 1 次提交
-
-
由 Ken Collins 提交于
The latest trunk of Mocha > 0.9.5 which addresses issue with MiniUnit compatibility uses namespaced integration classes. [#2060 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 07 2月, 2009 1 次提交
-
-
由 Matthias Hennemeyer 提交于
[#1871 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 23 11月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
Get ActiveSupport::TestCase working with classic Test::Unit and MiniTest. Fix broken Mocha + MiniTest. Assume ruby-core applies patch #771 fixing libraries which extend Test::Unit.
-
- 21 11月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 16 11月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 08 11月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 19 7月, 2008 1 次提交
-
-
由 Joshua Peek 提交于
-
- 23 6月, 2008 2 次提交
-
-
由 Jeremy Kemper 提交于
This reverts commit 4d5ac3f3.
-
由 Jeremy Kemper 提交于
-
- 11 6月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 20 5月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
Workaround missing Test::Unit::TestCase::PASSTHROUGH_EXCEPTIONS in Ruby < 1.8.6. [#224 state:resolved]
-
- 19 1月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
Extract ActiveSupport::Callbacks from Active Record, test case setup and teardown, and ActionController::Dispatcher. Closes #10727. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 05 1月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
* TestCase: introduce declared setup and teardown callbacks. Pass a list of methods and an optional block to call before setup or after teardown. Setup callbacks are run in the order declared; teardown callbacks are run in reverse. [Jeremy Kemper] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8570 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-