aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/testing
Commit message (Collapse)AuthorAgeFilesLines
...
* some ruby interpreters don't have ruby-prof so just skip the testsAaron Patterson2012-10-181-1/+1
| | | | rather than exiting the process.
* Tests tag the Rails log with the current test class and test caseJeremy Kemper2012-09-261-0/+30
|
* Add missing inflector dependencyMike Moore2012-09-251-3/+2
|
* Create ActiveSupport::Testing::ConstantLookupMike Moore2012-09-241-0/+53
| | | | | AS::TC::ConstantLookup walks the test's name to find the constant it is describing. This additional lookup logic is needed to better support minitest's spec DSL.
* update AS/notifications and AS/testing docs [ci skip]Francesco Rodriguez2012-09-142-7/+9
|
* deprecate `describe` without a block.Aaron Patterson2012-07-091-22/+0
| | | | | minitest/spec provides `describe`, so deprecate the rails version and have people use the superclass version
* we still need `describe` as the implementation differs from minitestAaron Patterson2012-07-081-0/+22
|
* minitest provides "it" and "describe"Aaron Patterson2012-07-081-40/+0
| | | | Remove rails implementation of describe, alias "test" to "it"
* Kill not used constant since removal of runner methodCarlos Antonio da Silva2012-07-031-9/+0
| | | | Runner method was removed in ada571bfcdbad669ae43a4dd18277ef227680a0b.
* remove the runner method copied from minitestAaron Patterson2012-07-031-20/+7
|
* hook mocha in through m/t before_setup, after_teardown hooksAaron Patterson2012-07-032-7/+22
|
* add :nodoc: to internal implementations [ci skip]Francesco Rodriguez2012-06-222-2/+2
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-06-221-23/+34
|\
| * fixes a few mistakes in api docs [ci skip]Vijay Dev2012-06-221-1/+1
| |
| * update AS::Testing::Assertions docsFrancesco Rodriguez2012-06-191-21/+32
| |
| * fix typo [ci skip]Francesco Rodriguez2012-06-191-2/+2
| |
* | Run the logger tests in isolationRafael Mendonça França2012-06-191-1/+1
| |
* | CORES needs to be a integerRafael Mendonça França2012-06-191-1/+1
| |
* | run railties tests in parallel, default to 2 coresAaron Patterson2012-06-191-0/+39
|/
* Eliminate dependency on Rails::VERSION::STRINGAndrew White2012-06-051-18/+23
| | | | | | To facilitate the use of ActiveSupport::Testing::Performance outside of a Rails application conditionally check for the presence of Rails::VERSION::STRING before including it in the environment string.
* Reduce warning messages when running Active Support testsAndrew White2012-05-311-0/+5
| | | | Eliminate the warnings generated by redefining methods and constants.
* Merge pull request #6525 from freerange/minitest-passthrough-exceptionsJosé Valim2012-05-291-0/+12
|\ | | | | Exceptions like Interrupt & NoMemoryError should not be rescued in tests.
| * Avoid dependency on MiniTest::Unit::TestCase::PASSTHROUGH_EXCEPTIONS.James Mead2012-05-291-2/+10
| |
| * 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
|