Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Create ActiveSupport::Testing::ConstantLookup | Mike Moore | 2012-09-24 | 1 | -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 Rodriguez | 2012-09-14 | 2 | -7/+9 |
| | |||||
* | deprecate `describe` without a block. | Aaron Patterson | 2012-07-09 | 1 | -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 minitest | Aaron Patterson | 2012-07-08 | 1 | -0/+22 |
| | |||||
* | minitest provides "it" and "describe" | Aaron Patterson | 2012-07-08 | 1 | -40/+0 |
| | | | | Remove rails implementation of describe, alias "test" to "it" | ||||
* | Kill not used constant since removal of runner method | Carlos Antonio da Silva | 2012-07-03 | 1 | -9/+0 |
| | | | | Runner method was removed in ada571bfcdbad669ae43a4dd18277ef227680a0b. | ||||
* | remove the runner method copied from minitest | Aaron Patterson | 2012-07-03 | 1 | -20/+7 |
| | |||||
* | hook mocha in through m/t before_setup, after_teardown hooks | Aaron Patterson | 2012-07-03 | 2 | -7/+22 |
| | |||||
* | add :nodoc: to internal implementations [ci skip] | Francesco Rodriguez | 2012-06-22 | 2 | -2/+2 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-06-22 | 1 | -23/+34 |
|\ | |||||
| * | fixes a few mistakes in api docs [ci skip] | Vijay Dev | 2012-06-22 | 1 | -1/+1 |
| | | |||||
| * | update AS::Testing::Assertions docs | Francesco Rodriguez | 2012-06-19 | 1 | -21/+32 |
| | | |||||
| * | fix typo [ci skip] | Francesco Rodriguez | 2012-06-19 | 1 | -2/+2 |
| | | |||||
* | | Run the logger tests in isolation | Rafael Mendonça França | 2012-06-19 | 1 | -1/+1 |
| | | |||||
* | | CORES needs to be a integer | Rafael Mendonça França | 2012-06-19 | 1 | -1/+1 |
| | | |||||
* | | run railties tests in parallel, default to 2 cores | Aaron Patterson | 2012-06-19 | 1 | -0/+39 |
|/ | |||||
* | Eliminate dependency on Rails::VERSION::STRING | Andrew White | 2012-06-05 | 1 | -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 tests | Andrew White | 2012-05-31 | 1 | -0/+5 |
| | | | | Eliminate the warnings generated by redefining methods and constants. | ||||
* | Merge pull request #6525 from freerange/minitest-passthrough-exceptions | José Valim | 2012-05-29 | 1 | -0/+12 |
|\ | | | | | Exceptions like Interrupt & NoMemoryError should not be rescued in tests. | ||||
| * | Avoid dependency on MiniTest::Unit::TestCase::PASSTHROUGH_EXCEPTIONS. | James Mead | 2012-05-29 | 1 | -2/+10 |
| | | |||||
| * | Exceptions like Interrupt should not be rescued. | James Mead | 2012-05-28 | 1 | -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 tests | Andrew Mutz | 2012-05-28 | 1 | -4/+4 |
|/ | |||||
* | reverting decoupling of NumberHelper from safe_join and adding tests for ↵ | Andrew Mutz | 2012-05-18 | 1 | -0/+1 |
| | | | | escaping of delimiters and separators | ||||
* | Remove dependency on safe_join from number helpers | Carlos Antonio da Silva | 2012-05-13 | 1 | -3/+2 |
| | | | | Introduced in 0f848dd54911f0e15c5c3aceabf09582cc6eab16. | ||||
* | Need to include "OutputSaftyHelper" here to prevent | Arun Agrawal | 2012-05-13 | 1 | -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 Agrawal | 2012-05-13 | 1 | -1/+1 |
| | |||||
* | Remove key argument from run_callbacks to fix build | Francesco Rodriguez | 2012-05-10 | 1 | -1/+1 |
| | |||||
* | Remove unused assignments | Mark Rushakoff | 2012-04-29 | 1 | -1/+1 |
| | |||||
* | merge MRI performance methods into one file | Sergey Nartimov | 2012-01-30 | 2 | -56/+26 |
| | |||||
* | no need in separate MiniTest modules | Sergey Nartimov | 2012-01-24 | 2 | -39/+30 |
| | |||||
* | Remove ActiveSupport::TestCase#pending, use `skip` instead | Carlos Antonio da Silva | 2012-01-21 | 1 | -20/+0 |
| | |||||
* | Test::Unit::Collector::ObjectSpace is not present anymore | Rafael Mendonça França | 2012-01-18 | 1 | -10/+0 |
| | |||||
* | just mix the run method in for minitest | Aaron Patterson | 2012-01-06 | 1 | -14/+11 |
| | |||||
* | Remove more references to Test::Unit | Rafael Mendonça França | 2012-01-06 | 1 | -19/+0 |
| | |||||
* | Remove Array.wrap calls in ActiveSupport | Rafael Mendonça França | 2012-01-06 | 1 | -2/+1 |
| | |||||
* | Merge pull request #4322 from castlerock/minitest_pending | José Valim | 2012-01-05 | 1 | -33/+1 |
|\ | | | | | ActiveSupport::Testing::Pending support for MiniTest only | ||||
| * | ActiveSupport::Testing::Pending support for MiniTest only | Vishnu Atrai | 2012-01-05 | 1 | -33/+1 |
| | | |||||
* | | support only MiniTest run with Isolation test | Vishnu Atrai | 2012-01-05 | 1 | -29/+1 |
|/ | |||||
* | Merge pull request #4198 from castlerock/remove_GC_checks_for_ruby19 | Santiago Pastorino | 2011-12-27 | 1 | -10/+4 |
|\ | | | | | remove conditions for GC::Profiler in ruby19 | ||||
| * | remove conditions for GC::Profiler in ruby19 | Vishnu Atrai | 2011-12-27 | 1 | -10/+4 |
| | | |||||
* | | Removed RUBY_ENGINE checks for ruby18 | Miguel Camba | 2011-12-27 | 1 | -3/+1 |
|/ | |||||
* | Merge pull request #4195 from castlerock/remove_19_condition_for_GC_Profiler | Santiago Pastorino | 2011-12-26 | 1 | -9/+6 |
|\ | | | | | GC::Profiler available in ruby19 | ||||
| * | GC::Profiler available in ruby19 | Vishnu Atrai | 2011-12-27 | 1 | -9/+6 |
| | | |||||
* | | remove ForClassicTestUnit support for ruby 1.8 | Vishnu Atrai | 2011-12-26 | 2 | -112/+2 |
|/ | |||||
* | Initial pass at removing dead 1.8.x code from Active Support. | José Valim | 2011-12-20 | 2 | -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 Perepelitsa | 2011-12-20 | 1 | -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.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 |
| |