Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Require Mocha >= 0.9.3 which includes a MiniTest adapter | Jeremy Kemper | 2008-11-23 | 1 | -45/+0 |
| | |||||
* | Move deprecation assertions so TestCase (and Mocha) needn't load on startup | Jeremy Kemper | 2008-11-23 | 1 | -0/+55 |
| | |||||
* | Get ActiveSupport::TestCase working with classic Test::Unit and MiniTest. ↵ | Jeremy Kemper | 2008-11-22 | 2 | -75/+82 |
| | | | | Fix broken Mocha + MiniTest. Assume ruby-core applies patch #771 fixing libraries which extend Test::Unit. | ||||
* | Mocha 0.9.0 compatibility for test setup/teardown callbacks | Jeremy Kemper | 2008-11-20 | 1 | -4/+6 |
| | |||||
* | Require callbacks so AS::TestCase may be required in isolation | Jeremy Kemper | 2008-11-15 | 1 | -0/+2 |
| | |||||
* | Extract test method declaration | Jeremy Kemper | 2008-11-07 | 1 | -0/+21 |
| | |||||
* | Rework testing extensions to reflect the recent miniunit upheaval | Jeremy Kemper | 2008-11-07 | 2 | -15/+15 |
| | |||||
* | Remove direct TestCase mixins. Add miniunit compatibility. | Jeremy Kemper | 2008-11-07 | 1 | -0/+61 |
| | |||||
* | Check first for git repository before using git branch | Pratik Naik | 2008-11-02 | 1 | -1/+1 |
| | |||||
* | added nicer failure reporting to #assert_difference to tell you the ↵ | madlep | 2008-10-03 | 1 | -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 Kemper | 2008-08-31 | 1 | -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_accessor | Jeremy Kemper | 2008-08-25 | 1 | -8/+9 |
| | |||||
* | Ruby 1.9 and GC::Profiler updates | Jeremy Kemper | 2008-08-18 | 1 | -6/+60 |
| | |||||
* | Once is enough, mmk | Jeremy Kemper | 2008-07-28 | 1 | -2/+2 |
| | |||||
* | Undefine old run method | Joshua Peek | 2008-07-19 | 1 | -0/+3 |
| | |||||
* | Decrease default benchmark runs from 10 to 4 | Jeremy Kemper | 2008-07-17 | 1 | -1/+1 |
| | |||||
* | Move test related core_ext stuff out of regular core ext to prevent nasty ↵ | Michael Koziarski | 2008-07-04 | 2 | -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 Kemper | 2008-06-23 | 1 | -2/+2 |
| | | | | This reverts commit 4d5ac3f3d2e1667971752c9a4e536de1a5bec364. | ||||
* | Check for mocha gem without requiring the lib. [#403 state:resolved] | Jeremy Kemper | 2008-06-22 | 1 | -2/+2 |
| | |||||
* | Don't assume RubyProf constants are defined | Jeremy Kemper | 2008-06-20 | 1 | -5/+5 |
| | |||||
* | Tired of seeing <foo>/run | Jeremy Kemper | 2008-06-20 | 1 | -1/+1 |
| | |||||
* | Don't profile GC runs/time by default | Jeremy Kemper | 2008-06-20 | 1 | -1/+1 |
| | |||||
* | Performance: add GC metrics for # of runs and total runtime | Jeremy Kemper | 2008-06-18 | 1 | -10/+48 |
| | |||||
* | Oops, include metric name in csv filename | Jeremy Kemper | 2008-06-18 | 1 | -1/+1 |
| | |||||
* | Performance: tweak unsupported metric error message | Jeremy Kemper | 2008-06-18 | 1 | -1/+1 |
| | |||||
* | Write benchmark output to separate files per test+metric. Support Lloyd ↵ | Jeremy Kemper | 2008-06-18 | 1 | -5/+35 |
| | | | | Hilaiel's GC.heap_info patch for current heap size. | ||||
* | process time for benchmarks (quicker), wall time for profiling (lower overhead) | Jeremy Kemper | 2008-06-16 | 1 | -10/+14 |
| | |||||
* | missed . joining rails version and git revision | Jeremy Kemper | 2008-06-16 | 1 | -1/+1 |
| | |||||
* | Metrics::Memory measures in fractional KB also | Jeremy Kemper | 2008-06-16 | 1 | -3/+3 |
| | |||||
* | Extract environment. Hardcode some git info so I can start working with it now. | Jeremy Kemper | 2008-06-16 | 1 | -8/+24 |
| | |||||
* | Force runs to be an integer. Start and stop RubyProf in same scope. Expect ↵ | Jeremy Kemper | 2008-06-15 | 1 | -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 @harness | Jeremy Kemper | 2008-06-15 | 1 | -3/+3 |
| | |||||
* | Metrics::[] escues NameError only. Fix MODE typo. | Jeremy Kemper | 2008-06-15 | 1 | -2/+2 |
| | |||||
* | Extract Metric and Performer. Simplify and refactor. | Jeremy Kemper | 2008-06-15 | 1 | -138/+212 |
| | |||||
* | Pass printer class to output_filename | Jeremy Kemper | 2008-06-14 | 1 | -8/+8 |
| | |||||
* | Performance: integration test benchmarking and profiling. [Jeremy Kemper] | Jeremy Kemper | 2008-06-14 | 1 | -0/+226 |
| | |||||
* | Rubinious: setup/teardown override for miniunit | Jeremy Kemper | 2008-06-10 | 1 | -7/+31 |
| | |||||
* | Workaround missing Test::Unit::TestCase::PASSTHROUGH_EXCEPTIONS in Ruby < ↵ | Jeremy Kemper | 2008-05-19 | 1 | -2/+10 |
| | | | | 1.8.6. [#224 state:resolved] | ||||
* | Extract ActiveSupport::Callbacks from Active Record, test case setup and ↵ | Jeremy Kemper | 2008-01-19 | 1 | -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 Kemper | 2008-01-05 | 2 | -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 #10003 | Michael Koziarski | 2007-10-26 | 1 | -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 Koziarski | 2007-10-26 | 1 | -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 |