aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/test_case.rb
Commit message (Collapse)AuthorAgeFilesLines
* MiniTest::Unit#method_name alias for Test::Unit compatJeremy Kemper2008-11-261-0/+1
|
* Require Mocha >= 0.9.3 which includes a MiniTest adapterJeremy Kemper2008-11-231-11/+7
|
* Move deprecation assertions so TestCase (and Mocha) needn't load on startupJeremy Kemper2008-11-231-0/+2
|
* Get ActiveSupport::TestCase working with classic Test::Unit and MiniTest. ↵Jeremy Kemper2008-11-221-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 Hansson2008-11-221-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-171-3/+7
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Set AS::TestCase::Assertion to the underlying test exception for either ↵Jeremy Kemper2008-11-071-1/+4
| | | | miniunit or test/unit
* Safer but hacky minitest autorun overrideJeremy Kemper2008-11-071-4/+5
|
* Rework testing extensions to reflect the recent miniunit upheavalJeremy Kemper2008-11-071-20/+24
|
* Remove direct TestCase mixins. Add miniunit compatibility.Jeremy Kemper2008-11-071-3/+7
|
* Enhance the test "some string" method to support creating 'pending' tests.Michael Koziarski2008-09-161-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 Koziarski2008-07-041-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 Kemper2008-06-121-5/+6
| | | | quicker instance_method(sym) rescue false check.
* Added test/do declaration style testing to ActiveSupport::TestCase [DHH via ↵David Heinemeier Hansson2008-06-121-1/+9
| | | | Jay Fields]
* * Continue evolution toward ActiveSupport::TestCase and friends. #10679 ↵Jeremy Kemper2008-01-051-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 Koziarski2007-10-261-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