Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | add documentation to AS::TestCase#assert_nothing_raised | Francesco Rodriguez | 2012-06-19 | 1 | -0/+5 | |
| | ||||||
* | MiniTest::Spec shipped with Ruby >= 1.9.3 always responds_to __name__ | Akira Matsuda | 2012-06-06 | 1 | -2/+1 | |
| | ||||||
* | Remove ActiveSupport::TestCase#pending, use `skip` instead | Carlos Antonio da Silva | 2012-01-21 | 1 | -2/+0 | |
| | ||||||
* | spec class names can possibly be nil in mt/s < 2.6.1, so work around that | Aaron Patterson | 2012-01-06 | 1 | -0/+6 | |
| | ||||||
* | register spec subclasses for people who spec | Aaron Patterson | 2012-01-06 | 1 | -1/+7 | |
| | ||||||
* | require minitest rather than test/unit | Aaron Patterson | 2012-01-06 | 1 | -1/+1 | |
| | ||||||
* | backport assert_not_same | Aaron Patterson | 2012-01-06 | 1 | -0/+1 | |
| | ||||||
* | require test/unit and sort test order | Aaron Patterson | 2012-01-06 | 1 | -0/+6 | |
| | ||||||
* | started converting AS::TestCase to minitest | Aaron Patterson | 2012-01-06 | 1 | -2/+12 | |
| | ||||||
* | MiniTest condition removed | Vishnu Atrai | 2011-12-31 | 1 | -9/+3 | |
| | ||||||
* | Moved Turn activation/dependency to railties | David Heinemeier Hansson | 2011-03-31 | 1 | -1/+0 | |
| | ||||||
* | Add using Turn with natural language test case names if the library is ↵ | David Heinemeier Hansson | 2011-03-31 | 1 | -17/+2 | |
| | | | | available (which it will be in Rails 3.1) [DHH] | |||||
* | require turn only for minitest | David Heinemeier Hansson | 2011-03-31 | 1 | -2/+6 | |
| | ||||||
* | Use Turn to format all Rails tests and enable the natural language case names | David Heinemeier Hansson | 2011-03-31 | 1 | -0/+5 | |
| | ||||||
* | removing AS::Testing::Default in favor of just undefing default_test | Aaron Patterson | 2010-10-01 | 1 | -2/+1 | |
| | ||||||
* | fixing activemodel tests. [#4210 state:resolved] | Aaron Patterson | 2010-03-17 | 1 | -0/+1 | |
| | | | | Signed-off-by: wycats <wycats@gmail.com> | |||||
* | Remove some 1.9 warnings (resulting in some fixed bugs). Remaining AM ↵ | wycats | 2010-03-17 | 1 | -1/+1 | |
| | | | | warnings are in dependencies. | |||||
* | Add backtrace cleaner on test unit railtie. | José Valim | 2010-02-07 | 1 | -6/+0 | |
| | ||||||
* | Move AS vendor support into bundler. | Joshua Peek | 2009-09-13 | 1 | -1/+0 | |
| | | | Run `rake bundle` before running tests. | |||||
* | Ruby 1.9.2 compat: name method was renamed to __name__ since MiniTest 1.4.x ↵ | Akira Matsuda | 2009-07-21 | 1 | -1/+2 | |
| | | | | | | [#2922 state:resolved] Signed-off-by: Yehuda Katz <wycats@gmail.com> | |||||
* | Move mocha down below initial T::U require and bump version to 0.9.7 [#2858 ↵ | Yehuda Katz + Carl Lerche | 2009-07-01 | 1 | -9/+9 | |
| | | | | state:resolved] | |||||
* | Created AS::Testing::Isolation which runs each test case in a separate process. | Yehuda Katz + Carl Lerche | 2009-06-30 | 1 | -0/+1 | |
| | | | | | This allows for testing rails bootup (files are required, correct constants are set, etc...). Currently, this is implemented via forking only, but we will add support for jruby and windows shortly. | |||||
* | Got controller/mime_responds_test.rb running on the new base | Yehuda Katz + Carl Lerche | 2009-05-20 | 1 | -0/+5 | |
| | ||||||
* | Bring abstract_controller up to date with rails/master | Carl Lerche & Yehuda Katz | 2009-04-13 | 1 | -1/+1 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolved all the conflicts since 2.3.0 -> HEAD. Following is a list of commits that could not be applied cleanly or are obviated with the abstract_controller refactor. They all need to be revisited to ensure that fixes made in 2.3 do not reappear in 3.0: 2259ecf368e6a6715966f69216e3ee86bf1a82a7 AR not available * This will be reimplemented with ActionORM or equivalent 06182ea02e92afad579998aa80144588e8865ac3 implicitly rendering a js response should not use the default layout [#1844 state:resolved] * This will be handled generically 893e9eb99504705419ad6edac14d00e71cef5f12 Improve view rendering performance in development mode and reinstate template recompiling in production [#1909 state:resolved] * We will need to reimplement rails-dev-boost on top of the refactor; the changes here are very implementation specific and cannot be cleanly applied. The following commits are implicated: 199e750d46c04970b5e7684998d09405648ecbd4 3942cb406e1d5db0ac00e03153809cc8dc4cc4db f8ea9f85d4f1e3e6f3b5d895bef6b013aa4b0690 e3b166aab37ddc2fbab030b146eb61713b91bf55 ae9f258e03c9fd5088da12c1c6cd216cc89a01f7 44423126c6f6133a1d9cf1d0832b527e8711d40f 0cb020b4d6d838025859bd60fb8151c8e21b8e84 workaround for picking layouts based on wrong view_paths [#1974 state:resolved] * The specifics of this commit no longer apply. Since it is a two-line commit, we will reimplement this change. 8c5cc66a831aadb159f3daaffa4208064c30af0e make action_controller/layouts pick templates from the current instance's view_paths instead of the class view_paths [#1974 state:resolved] * This does not apply at all. It should be trivial to apply the feature to the reimplemented ActionController::Base. 87e8b162463f13bd50d27398f020769460a770e3 fix HTML fallback for explicit templates [#2052 state:resolved] * There were a number of patches related to this that simply compounded each other. Basically none of them apply cleanly, and the underlying issue needs to be revisited. After discussing the underlying problem with Koz, we will defer these fixes for further discussion. | |||||
| * | Skip backtrace filters if BACKTRACE environment variable is set | Jeremy Kemper | 2009-03-03 | 1 | -1/+1 | |
| | | ||||||
* | | Add support for pending | Yehuda Katz | 2009-02-02 | 1 | -0/+2 | |
|/ | ||||||
* | 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 |