aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/testing
Commit message (Collapse)AuthorAgeFilesLines
* added nicer failure reporting to #assert_difference to tell you the ↵madlep2008-10-031-4/+7
| | | | | | | expression that failed rather than just the expected and actual values Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1161 state:committed]
* Get rid of 'Object#send!'. It was originally added because it's in Ruby 1.9, ↵Jeremy Kemper2008-08-311-1/+5
| | | | | | | | | | but it has since been removed from 1.9. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> Conflicts: actionpack/test/controller/layout_test.rb
* Ruby 1.9 compat: switch profile_options to superclass_delegating_accessorJeremy Kemper2008-08-251-8/+9
|
* Ruby 1.9 and GC::Profiler updatesJeremy Kemper2008-08-181-6/+60
|
* Once is enough, mmkJeremy Kemper2008-07-281-2/+2
|
* Undefine old run methodJoshua Peek2008-07-191-0/+3
|
* Decrease default benchmark runs from 10 to 4Jeremy Kemper2008-07-171-1/+1
|
* Move test related core_ext stuff out of regular core ext to prevent nasty ↵Michael Koziarski2008-07-042-0/+71
| | | | surprises when you require active_support then use Test::Unit directly.
* Revert "Check for mocha gem without requiring the lib. [#403 state:resolved]"Jeremy Kemper2008-06-231-2/+2
| | | | This reverts commit 4d5ac3f3d2e1667971752c9a4e536de1a5bec364.
* Check for mocha gem without requiring the lib. [#403 state:resolved]Jeremy Kemper2008-06-221-2/+2
|
* Don't assume RubyProf constants are definedJeremy Kemper2008-06-201-5/+5
|
* Tired of seeing <foo>/runJeremy Kemper2008-06-201-1/+1
|
* Don't profile GC runs/time by defaultJeremy Kemper2008-06-201-1/+1
|
* Performance: add GC metrics for # of runs and total runtimeJeremy Kemper2008-06-181-10/+48
|
* Oops, include metric name in csv filenameJeremy Kemper2008-06-181-1/+1
|
* Performance: tweak unsupported metric error messageJeremy Kemper2008-06-181-1/+1
|
* Write benchmark output to separate files per test+metric. Support Lloyd ↵Jeremy Kemper2008-06-181-5/+35
| | | | Hilaiel's GC.heap_info patch for current heap size.
* process time for benchmarks (quicker), wall time for profiling (lower overhead)Jeremy Kemper2008-06-161-10/+14
|
* missed . joining rails version and git revisionJeremy Kemper2008-06-161-1/+1
|
* Metrics::Memory measures in fractional KB alsoJeremy Kemper2008-06-161-3/+3
|
* Extract environment. Hardcode some git info so I can start working with it now.Jeremy Kemper2008-06-161-8/+24
|
* Force runs to be an integer. Start and stop RubyProf in same scope. Expect ↵Jeremy Kemper2008-06-151-12/+21
| | | | memory measurements in fractional KB now instead of bytes. Convert object allocation measurements to integer. Wrap up measure_mode in Metric instance method.
* Delegate run_test to @harnessJeremy Kemper2008-06-151-3/+3
|
* Metrics::[] escues NameError only. Fix MODE typo.Jeremy Kemper2008-06-151-2/+2
|
* Extract Metric and Performer. Simplify and refactor.Jeremy Kemper2008-06-151-138/+212
|
* Pass printer class to output_filenameJeremy Kemper2008-06-141-8/+8
|
* Performance: integration test benchmarking and profiling. [Jeremy Kemper]Jeremy Kemper2008-06-141-0/+226
|
* Rubinious: setup/teardown override for miniunitJeremy Kemper2008-06-101-7/+31
|
* Workaround missing Test::Unit::TestCase::PASSTHROUGH_EXCEPTIONS in Ruby < ↵Jeremy Kemper2008-05-191-2/+10
| | | | 1.8.6. [#224 state:resolved]
* Extract ActiveSupport::Callbacks from Active Record, test case setup and ↵Jeremy Kemper2008-01-191-46/+4
| | | | | | teardown, and ActionController::Dispatcher. Closes #10727. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* * Continue evolution toward ActiveSupport::TestCase and friends. #10679 ↵Jeremy Kemper2008-01-052-6/+130
| | | | | | | | | [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
* Make Default Test work with both ruby 1.8.4 and 1.8.6. [DrMark] Closes #10003Michael Koziarski2007-10-261-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8040 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce TestCase subclasses for testing rails applications allowing tests ↵Michael Koziarski2007-10-261-0/+11
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