aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/testing
Commit message (Collapse)AuthorAgeFilesLines
...
| * Exceptions like Interrupt should not be rescued.James Mead2012-05-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Neither Test::Unit nor MiniTest rescue exceptions like Interrupt or NoMemoryError, but ActiveSupport::Testing::SetupAndTeardown#run which overrides MiniTest::Unit::TestCase#run rescues them. Rescuing an Interrupt exception is annoying, because it means when you are running a lot of tests e.g. when running one of the rake test tasks, you cannot break out using ctrl-C. Rescuing exceptions like NoMemoryError is foolish, because the most sensible thing to happen is for the process to terminate as soon as possible. This solution probably needs some finessing e.g. I'm not clear whether the assumption is that only MiniTest is supported. Also early versions of MiniTest did not have this behaviour. However, hopefully it's a start. Integrating with Test::Unit & MiniTest has always been a pain. It would be great if both of them provided sensible extension points for the kind of things that both Rails and Mocha want to do.
* | decoupling activesupport performance testing from actionview and adding testsAndrew Mutz2012-05-281-4/+4
|/
* reverting decoupling of NumberHelper from safe_join and adding tests for ↵Andrew Mutz2012-05-181-0/+1
| | | | escaping of delimiters and separators
* Remove dependency on safe_join from number helpersCarlos Antonio da Silva2012-05-131-3/+2
| | | | Introduced in 0f848dd54911f0e15c5c3aceabf09582cc6eab16.
* Need to include "OutputSaftyHelper" here to preventArun Agrawal2012-05-131-0/+1
| | | | | `number_with_delimiter': undefined method `safe_join' for #<ActiveSupport::Testing::Performance::Metrics::Objects
* Fixed ruby-prof changes and let's use latest ruby-prof now.Arun Agrawal2012-05-131-1/+1
|
* Remove key argument from run_callbacks to fix buildFrancesco Rodriguez2012-05-101-1/+1
|
* Remove unused assignmentsMark Rushakoff2012-04-291-1/+1
|
* merge MRI performance methods into one fileSergey Nartimov2012-01-302-56/+26
|
* no need in separate MiniTest modulesSergey Nartimov2012-01-242-39/+30
|
* Remove ActiveSupport::TestCase#pending, use `skip` insteadCarlos Antonio da Silva2012-01-211-20/+0
|
* Test::Unit::Collector::ObjectSpace is not present anymoreRafael Mendonça França2012-01-181-10/+0
|
* just mix the run method in for minitestAaron Patterson2012-01-061-14/+11
|
* Remove more references to Test::UnitRafael Mendonça França2012-01-061-19/+0
|
* Remove Array.wrap calls in ActiveSupportRafael Mendonça França2012-01-061-2/+1
|
* Merge pull request #4322 from castlerock/minitest_pendingJosé Valim2012-01-051-33/+1
|\ | | | | ActiveSupport::Testing::Pending support for MiniTest only
| * ActiveSupport::Testing::Pending support for MiniTest onlyVishnu Atrai2012-01-051-33/+1
| |
* | support only MiniTest run with Isolation test Vishnu Atrai2012-01-051-29/+1
|/
* Merge pull request #4198 from castlerock/remove_GC_checks_for_ruby19Santiago Pastorino2011-12-271-10/+4
|\ | | | | remove conditions for GC::Profiler in ruby19
| * remove conditions for GC::Profiler in ruby19Vishnu Atrai2011-12-271-10/+4
| |
* | Removed RUBY_ENGINE checks for ruby18Miguel Camba2011-12-271-3/+1
|/
* Merge pull request #4195 from castlerock/remove_19_condition_for_GC_ProfilerSantiago Pastorino2011-12-261-9/+6
|\ | | | | GC::Profiler available in ruby19
| * GC::Profiler available in ruby19Vishnu Atrai2011-12-271-9/+6
| |
* | remove ForClassicTestUnit support for ruby 1.8Vishnu Atrai2011-12-262-112/+2
|/
* Initial pass at removing dead 1.8.x code from Active Support.José Valim2011-12-202-59/+0
| | | | | | There are a bunch of other implicit branches that adds 1.8.x specific code that still needs to be removed. Pull requests for those cases are welcome.
* Fix syntax error in rdocs. Semyon Perepelitsa2011-12-201-1/+1
| | | Ruby assumes curly braces in foo {} as a block, for hash we need to put parentheses or omit braces
* fixing assert_difference issues on ruby 1.8Aaron Patterson2011-08-041-6/+7
|
* make assert_difference error message not suckAaron Patterson2011-08-031-5/+6
|
* correct error message for failed creationRay Baxter2011-06-261-1/+1
|
* Remove trailing white-spacesGuillermo Iguaran2011-06-056-52/+50
|
* import to java_import. Arun Agrawal2011-05-241-1/+1
|
* removed redundant metric support check (and print when it isn't)Gonçalo Silva2011-05-102-6/+6
|
* remove forgotten putsGonçalo Silva2011-05-101-1/+0
|
* ruby-prof's awesome call stack printer is now used by defaultGonçalo Silva2011-05-101-1/+1
|
* benchmarker and profiler now use the new performance testing tools (support ↵Gonçalo Silva2011-05-101-4/+7
| | | | for Rubinius and JRuby and high configurability)
* contemplate unsupported metricsGonçalo Silva2011-05-093-30/+18
|
* explicitly return from run() under minitest (metrics were printed with the ↵Gonçalo Silva2011-05-082-1/+3
| | | | previous solution)
* Merge branch 'master' of https://github.com/rails/rails into performance_testGonçalo Silva2011-05-083-46/+93
|\ | | | | | | | | Conflicts: activesupport/lib/active_support/testing/performance.rb
| * minitest/ruby19 compatible performance testJan Xie2011-05-051-43/+88
| |
| * convert strings to lambdas so we can use a consistent interface to the ↵Aaron Patterson2011-05-011-5/+5
| | | | | | | | objects in the collection
| * assert_difference can take a callable piece of code rather than just evaling ↵Aaron Patterson2011-05-011-4/+15
| | | | | | | | a string
* | don't use internal profiler methods on Rubinius and JRuby since we're only ↵Gonçalo Silva2011-04-033-8/+14
| | | | | | | | measuring wall clock for now (and the APIs will/can change, respectively)
* | removed unused class declarationGonçalo Silva2011-04-031-2/+0
| |
* | Merge branch 'master' of https://github.com/rails/rails into performance_testGonçalo Silva2011-04-032-21/+32
|\|
| * Moved Turn activation/dependency to railtiesDavid Heinemeier Hansson2011-03-311-33/+0
| |
| * Add using Turn with natural language test case names if the library is ↵David Heinemeier Hansson2011-03-312-0/+40
| | | | | | | | available (which it will be in Rails 3.1) [DHH]
| * Delegate pending to skip if Minitest is availableDavid Heinemeier Hansson2011-03-301-21/+25
| |
* | profiling enabled under JRuby. Added documentation for workaround described ↵Gonçalo Silva2011-04-034-17/+8
| | | | | | | | in JRUBY-5650.
* | check if there is support for the specified metric when profilingGonçalo Silva2011-03-304-24/+32
| |
* | fixed a bug where rubinius was creating the profiling files as directoriesGonçalo Silva2011-03-301-1/+1
| |