Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update mocha version to 0.13.0 and change requires | Carlos Antonio da Silva | 2012-11-13 | 2 | -2/+1 |
| | |||||
* | Avoid a Mocha deprecation warning. | James Mead | 2012-11-13 | 1 | -1/+1 |
| | |||||
* | Fix for Test::Unit Mocha compatibility. | James Mead | 2012-11-13 | 1 | -3/+5 |
| | | | | | | | | Mocha is now using a single AssertionCounter which needs a reference to the testcase as opposed to the result. This change is an unfortunate consequence of the copying of a chunk of Mocha's internal code in order to monkey-patch Test::Unit. | ||||
* | Copy Mocha bug fix. | James Mead | 2012-11-13 | 1 | -0/+2 |
| | | | | | | | | | | | | A bug was fixed [1] in Mocha's integration with Test::Unit, but this monkey-patching code was copied before the fix. We need to copy the fixed version. The bug meant that an unexpected invocation against a mock within the teardown method caused a test *error* and not a test *failure*. [1] https://github.com/freerange/mocha/commit/f1ff6475ca2871f2977ab84cabbbfe2adadbbee6#diff-5 | ||||
* | Fix ActiveSupport integration with Mocha > 0.12.1 | Mike Gunderloy | 2012-08-02 | 1 | -1/+3 |
| | | | | | | Mocha 0.12.2 renames the Integration module to MonkeyPatching. This breaks the code Rails uses to retrieve the assertion counter from Mocha. | ||||
* | fix namespace collision with test-unit-activesupport | Jens Kraemer | 2012-06-10 | 1 | -1/+1 |
| | |||||
* | Exceptions like Interrupt should not be rescued in tests. | James Mead | 2012-05-29 | 1 | -0/+5 |
| | | | | | This is a back-port of rails/rails#6525. See the commit notes there for details. | ||||
* | Update performance profiler to work with latest ruby-prof | Arun Agrawal | 2012-05-11 | 1 | -1/+1 |
| | | | | Thanks to @carlosantoniodasilva | ||||
* | fixing assert_difference issues on ruby 1.8 | Aaron Patterson | 2011-08-04 | 1 | -6/+7 |
| | |||||
* | make assert_difference error message not suck | Aaron Patterson | 2011-08-03 | 1 | -5/+6 |
| | |||||
* | correct error message for failed creation | Ray Baxter | 2011-06-26 | 1 | -1/+1 |
| | |||||
* | Remove trailing white-spaces | Guillermo Iguaran | 2011-06-05 | 6 | -52/+50 |
| | |||||
* | import to java_import. | Arun Agrawal | 2011-05-24 | 1 | -1/+1 |
| | |||||
* | removed redundant metric support check (and print when it isn't) | Gonçalo Silva | 2011-05-10 | 2 | -6/+6 |
| | |||||
* | remove forgotten puts | Gonçalo Silva | 2011-05-10 | 1 | -1/+0 |
| | |||||
* | ruby-prof's awesome call stack printer is now used by default | Gonçalo Silva | 2011-05-10 | 1 | -1/+1 |
| | |||||
* | benchmarker and profiler now use the new performance testing tools (support ↵ | Gonçalo Silva | 2011-05-10 | 1 | -4/+7 |
| | | | | for Rubinius and JRuby and high configurability) | ||||
* | contemplate unsupported metrics | Gonçalo Silva | 2011-05-09 | 3 | -30/+18 |
| | |||||
* | explicitly return from run() under minitest (metrics were printed with the ↵ | Gonçalo Silva | 2011-05-08 | 2 | -1/+3 |
| | | | | previous solution) | ||||
* | Merge branch 'master' of https://github.com/rails/rails into performance_test | Gonçalo Silva | 2011-05-08 | 3 | -46/+93 |
|\ | | | | | | | | | Conflicts: activesupport/lib/active_support/testing/performance.rb | ||||
| * | minitest/ruby19 compatible performance test | Jan Xie | 2011-05-05 | 1 | -43/+88 |
| | | |||||
| * | convert strings to lambdas so we can use a consistent interface to the ↵ | Aaron Patterson | 2011-05-01 | 1 | -5/+5 |
| | | | | | | | | objects in the collection | ||||
| * | assert_difference can take a callable piece of code rather than just evaling ↵ | Aaron Patterson | 2011-05-01 | 1 | -4/+15 |
| | | | | | | | | a string | ||||
* | | don't use internal profiler methods on Rubinius and JRuby since we're only ↵ | Gonçalo Silva | 2011-04-03 | 3 | -8/+14 |
| | | | | | | | | measuring wall clock for now (and the APIs will/can change, respectively) | ||||
* | | removed unused class declaration | Gonçalo Silva | 2011-04-03 | 1 | -2/+0 |
| | | |||||
* | | Merge branch 'master' of https://github.com/rails/rails into performance_test | Gonçalo Silva | 2011-04-03 | 2 | -21/+32 |
|\| | |||||
| * | Moved Turn activation/dependency to railties | David Heinemeier Hansson | 2011-03-31 | 1 | -33/+0 |
| | | |||||
| * | Add using Turn with natural language test case names if the library is ↵ | David Heinemeier Hansson | 2011-03-31 | 2 | -0/+40 |
| | | | | | | | | available (which it will be in Rails 3.1) [DHH] | ||||
| * | Delegate pending to skip if Minitest is available | David Heinemeier Hansson | 2011-03-30 | 1 | -21/+25 |
| | | |||||
* | | profiling enabled under JRuby. Added documentation for workaround described ↵ | Gonçalo Silva | 2011-04-03 | 4 | -17/+8 |
| | | | | | | | | in JRUBY-5650. | ||||
* | | check if there is support for the specified metric when profiling | Gonçalo Silva | 2011-03-30 | 4 | -24/+32 |
| | | |||||
* | | fixed a bug where rubinius was creating the profiling files as directories | Gonçalo Silva | 2011-03-30 | 1 | -1/+1 |
| | | |||||
* | | don't allow decimal places on the amount of objects and gc runs | Gonçalo Silva | 2011-03-29 | 1 | -1/+1 |
| | | |||||
* | | improved detection and feedback of supported/unsupported metrics | Gonçalo Silva | 2011-03-28 | 6 | -54/+7 |
| | | |||||
* | | fixed a couple of hidden bugs | Gonçalo Silva | 2011-03-28 | 3 | -3/+4 |
| | | |||||
* | | improved options handling in performance tests | Gonçalo Silva | 2011-03-28 | 4 | -39/+42 |
| | | |||||
* | | we need test-unit on mri 1.9 | Gonçalo Silva | 2011-03-28 | 1 | -3/+7 |
| | | |||||
* | | added profiling and benchmarking capabilities to jruby (profiling is ↵ | Gonçalo Silva | 2011-03-28 | 1 | -18/+53 |
| | | | | | | | | crippled because of a jruby bug) | ||||
* | | benchmarking metrics are also implementation-specific | Gonçalo Silva | 2011-03-28 | 3 | -4/+20 |
| | | |||||
* | | warn the user about unsupported benchmarking metrics he might have asked for | Gonçalo Silva | 2011-03-28 | 1 | -1/+2 |
| | | |||||
* | | removed duplication in rubinius' benchmark code | Gonçalo Silva | 2011-03-28 | 1 | -14/+10 |
| | | |||||
* | | fix a bug where the GC wasn't being triggered at the start of the MRI benchmarks | Gonçalo Silva | 2011-03-28 | 1 | -0/+1 |
| | | |||||
* | | :min_percent only makes sense in a RubyProf context | Gonçalo Silva | 2011-03-28 | 2 | -2/+2 |
| | | |||||
* | | added basic structure for jruby | Gonçalo Silva | 2011-03-26 | 3 | -8/+78 |
| | | |||||
* | | added support for profiling under rubinius | Gonçalo Silva | 2011-03-26 | 3 | -7/+66 |
| | | |||||
* | | fixed time and size units (should be seconds / bytes), fixed typo when ↵ | Gonçalo Silva | 2011-03-25 | 4 | -11/+10 |
| | | | | | | | | counting memory allocations under rubinius | ||||
* | | added gc info (runs, time) to rubinius' benchmarks | Gonçalo Silva | 2011-03-25 | 1 | -2/+6 |
| | | |||||
* | | added memory size and allocations to rubinius' benchmarks | Gonçalo Silva | 2011-03-25 | 1 | -2/+10 |
| | | |||||
* | | added time (wall, process, cpu) to rubinius' benchmarks | Gonçalo Silva | 2011-03-25 | 1 | -3/+11 |
| | | |||||
* | | added missing require | Gonçalo Silva | 2011-03-25 | 1 | -0/+2 |
| | |