1. 04 7月, 2012 2 次提交
  2. 29 5月, 2012 2 次提交
    • J
    • J
      Exceptions like Interrupt should not be rescued. · b057fab6
      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.
      b057fab6
  3. 07 1月, 2012 1 次提交
  4. 27 12月, 2011 1 次提交
  5. 01 2月, 2011 1 次提交
  6. 24 7月, 2010 1 次提交
  7. 20 4月, 2010 1 次提交
  8. 31 12月, 2009 1 次提交
  9. 30 12月, 2009 1 次提交
  10. 09 11月, 2009 1 次提交
  11. 15 10月, 2009 4 次提交
  12. 13 10月, 2009 3 次提交
  13. 30 6月, 2009 1 次提交
  14. 10 4月, 2009 1 次提交
  15. 07 4月, 2009 1 次提交
  16. 11 3月, 2009 1 次提交
  17. 07 2月, 2009 1 次提交
  18. 23 11月, 2008 1 次提交
  19. 21 11月, 2008 1 次提交
  20. 16 11月, 2008 1 次提交
  21. 08 11月, 2008 1 次提交
  22. 19 7月, 2008 1 次提交
  23. 23 6月, 2008 2 次提交
  24. 11 6月, 2008 1 次提交
  25. 20 5月, 2008 1 次提交
  26. 19 1月, 2008 1 次提交
  27. 05 1月, 2008 1 次提交