Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Skip backtrace filters if BACKTRACE environment variable is set | Jeremy Kemper | 2009-03-03 | 1 | -1/+1 |
| | |||||
* | MiniTest::Unit#method_name alias for Test::Unit compat | Jeremy Kemper | 2008-11-26 | 1 | -0/+1 |
| | |||||
* | Require Mocha >= 0.9.3 which includes a MiniTest adapter | Jeremy Kemper | 2008-11-23 | 1 | -11/+7 |
| | |||||
* | Move deprecation assertions so TestCase (and Mocha) needn't load on startup | Jeremy Kemper | 2008-11-23 | 1 | -0/+2 |
| | |||||
* | Get ActiveSupport::TestCase working with classic Test::Unit and MiniTest. ↵ | Jeremy Kemper | 2008-11-22 | 1 | -31/+25 |
| | | | | Fix broken Mocha + MiniTest. Assume ruby-core applies patch #771 fixing libraries which extend Test::Unit. | ||||
* | Added ActiveSupport::BacktraceCleaner and Rails::BacktraceCleaner for ↵ | David Heinemeier Hansson | 2008-11-22 | 1 | -2/+8 |
| | | | | cutting down on backtrace noise (inspired by the Thoughtbot Quiet Backtrace plugin) [DHH] | ||||
* | Fix compatibility with Ruby 1.8 that also has the Miniunit gem installed. | Hongli Lai (Phusion) | 2008-11-17 | 1 | -3/+7 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Set AS::TestCase::Assertion to the underlying test exception for either ↵ | Jeremy Kemper | 2008-11-07 | 1 | -1/+4 |
| | | | | miniunit or test/unit | ||||
* | Safer but hacky minitest autorun override | Jeremy Kemper | 2008-11-07 | 1 | -4/+5 |
| | |||||
* | Rework testing extensions to reflect the recent miniunit upheaval | Jeremy Kemper | 2008-11-07 | 1 | -20/+24 |
| | |||||
* | Remove direct TestCase mixins. Add miniunit compatibility. | Jeremy Kemper | 2008-11-07 | 1 | -3/+7 |
| | |||||
* | Enhance the test "some string" method to support creating 'pending' tests. | Michael Koziarski | 2008-09-16 | 1 | -1/+7 |
| | | | | If no block is provided to the test method, a default test will be generated which simply flunks. This makes it easy for you to generate a list of what you intend to do, then flesh it out with actual tests. | ||||
* | Move test related core_ext stuff out of regular core ext to prevent nasty ↵ | Michael Koziarski | 2008-07-04 | 1 | -5/+1 |
| | | | | surprises when you require active_support then use Test::Unit directly. | ||||
* | Ruby 1.9 compat: instance_methods are symbols instead of strings. Use the ↵ | Jeremy Kemper | 2008-06-12 | 1 | -5/+6 |
| | | | | quicker instance_method(sym) rescue false check. | ||||
* | Added test/do declaration style testing to ActiveSupport::TestCase [DHH via ↵ | David Heinemeier Hansson | 2008-06-12 | 1 | -1/+9 |
| | | | | Jay Fields] | ||||
* | * Continue evolution toward ActiveSupport::TestCase and friends. #10679 ↵ | Jeremy Kemper | 2008-01-05 | 1 | -2/+10 |
| | | | | | | | | | [Josh Peek] * 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 | ||||
* | Introduce TestCase subclasses for testing rails applications allowing tests ↵ | Michael Koziarski | 2007-10-26 | 1 | -0/+5 |
to be DRY'd up a bit and to provide a path toward tidying up our monkeypatching of test/unit. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8022 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |