aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/testing
Commit message (Collapse)AuthorAgeFilesLines
* Config is deprecated on 1.8.8 and 1.9.3 use RbConfigSantiago Pastorino2010-08-231-1/+1
|
* code gardening: we have assert_(nil|blank|present), more concise, with ↵Xavier Noria2010-08-171-4/+6
| | | | better default failure messages - let's use them
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-143-9/+9
| | | | 's/[ \t]*$//' -i {} \;)
* added support for more printersGonçalo Silva2010-08-101-5/+9
|
* Removes unused varsSantiago Pastorino2010-07-241-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* performance tests now working accurately on 1.9, using Ruby with the GCdata ↵Gonçalo Silva2010-06-291-36/+18
| | | | patch
* AS::Isolation functional on Windows/JRuby.Nick Sieger2010-06-241-8/+11
| | | | | | Doesn't make up for the fact that it's slooooooooow, though. Signed-off-by: wycats <wycats@gmail.com>
* enable_stats added back in since Benchmarker doesn't start RubyProfGonçalo Silva2010-06-171-1/+9
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* check if the profiler patch is applied, otherwise GC::Profiler doesn't have ↵Gonçalo Silva2010-06-171-1/+1
| | | | the 'data' method
* added information about what is being usedGonçalo Silva2010-06-171-2/+6
|
* heap_live_objects+heap_free_objects is broken, use heap_total_objects insteadGonçalo Silva2010-06-171-2/+1
|
* also use GC profiler extended patch to retrieve GC time on 1.9Gonçalo Silva2010-06-171-1/+12
|
* ruby's GC doesn't support the time method, removed support for itGonçalo Silva2010-06-171-4/+0
|
* use GC profiler extended patch to retrieve GC runs on 1.9Gonçalo Silva2010-06-171-1/+12
|
* ruby's GC doesn't support collections and heap_info, RubyProf can handle itGonçalo Silva2010-06-171-8/+0
|
* GC at 1.9.X doesn't have malloc_allocated_size, remove support for itGonçalo Silva2010-06-171-12/+0
|
* removed support for 1.8's GC alternative hacks (railsbench and lloyd ↵Gonçalo Silva2010-06-171-25/+0
| | | | patches). RubyProf can handle it
* check if the data method is defined (meaning it's correctly patched)Gonçalo Silva2010-06-171-4/+4
|
* the official profiler (present in 1.9) should have the highest priorityGonçalo Silva2010-06-171-31/+31
|
* don't set cpu_frequency if RubyProf resolved itGonçalo Silva2010-06-171-2/+2
|
* refactor evals and adds some __FILE__ and __LINE__Santiago Pastorino2010-05-201-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Use Config::CONFIG['host_os'] instead of RUBY_PLATFORM [#4477 state:resolved]Anil Wadghule2010-04-261-1/+2
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Missing requires addedSantiago Pastorino2010-04-201-0/+3
| | | | Signed-off-by: Xavier Noria <fxn@hashref.com>
* adds missing require for blank? and present?Xavier Noria2010-03-311-0/+1
|
* New assertion: assert_present [#4299 state:committed]Juanjo Bazan2010-03-301-0/+7
| | | | Signed-off-by: Xavier Noria <fxn@hashref.com>
* new assertion: assert_blankJuanjo Bazan2010-03-301-0/+7
| | | | Signed-off-by: Xavier Noria <fxn@hashref.com>
* Remove some 1.9 warnings (resulting in some fixed bugs). Remaining AM ↵wycats2010-03-171-2/+2
| | | | warnings are in dependencies.
* testing/performance.rb needs active_support/core_ext/string/inflections ↵Xavier Noria2010-01-011-0/+1
| | | | because it uses demodulize
* Allow ActiveSupport's isolation tests to run with MiniTest on 1.9Carl Lerche2009-12-301-18/+46
|
* Setup and teardown now use new callbacks.José Valim2009-12-301-27/+46
|
* Reorganize autoloads:Carlhuda2009-12-021-337/+341
| | | | | | | | | | | | | | | | | | | | | * A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications.
* Fixes remote errors in isolation testsYehuda Katz2009-11-231-0/+15
|
* Ruby 1.9: use method_name to work around miniunit API changesJeremy Kemper2009-11-081-2/+2
|
* Have all the tests running off a single GemfileYehuda Katz + Carl Lerche2009-10-201-2/+0
|
* Deprecate RAILS_ROOT in favor of Rails.root (which proxies to the ↵Carl Lerche2009-10-161-0/+2
| | | | application's object root)
* Revert "Get AS TestCase off deprecated callbacks"Jeremy Kemper2009-10-141-13/+1
| | | | This reverts commit 29b280666b6a8216a46b8349fa76c85f5b5dcc55.
* Revert "Rewrite AS::TestCase setup/teardown as a single callback chain"Jeremy Kemper2009-10-141-30/+27
| | | | This reverts commit 610e94c097fcc41aaf11bf5ddd45898718aeeb55.
* Revert "Missing requires"Jeremy Kemper2009-10-141-1/+0
| | | | | | These rely on constant autoloads. This reverts commit d39f397dc6726b27cc2c60a6e24e15cb1944ec58.
* Missing requiresMichael Koziarski2009-10-151-0/+1
|
* Finish porting over the initializers to the app object and fix all the testsCarl Lerche2009-10-141-2/+0
|
* Rewrite AS::TestCase setup/teardown as a single callback chainJoshua Peek2009-10-121-27/+30
|
* Get AS TestCase off deprecated callbacksJoshua Peek2009-10-121-1/+13
|
* Callbacks, DeprecatedCallbacks = NewCallbacks, CallbacksJoshua Peek2009-10-121-4/+2
|
* To unmarshal MissingSourceFile from childJeremy Kemper2009-10-091-1/+3
|
* Fix the broken railties isolation testsCarl Lerche2009-09-291-4/+9
|
* Move AS vendor support into bundler.Joshua Peek2009-09-131-2/+0
| | | Run `rake bundle` before running tests.
* Get Initializer tests running without requiring parts of Rails being loaded ↵Yehuda Katz + Carl Lerche2009-07-061-70/+72
| | | | first
* Adds support for def self.setup in isolation tests for setup that should be ↵Yehuda Katz + Carl Lerche2009-07-021-0/+5
| | | | run only once in the parent
* Crazy hacks to get the Isolation testing module to work on non forking ↵Yehuda Katz + Carl Lerche2009-06-301-10/+69
| | | | environments
* Created AS::Testing::Isolation which runs each test case in a separate process.Yehuda Katz + Carl Lerche2009-06-301-0/+39
| | | | | 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.