Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix ActiveSupport::Testing::Isolation on jruby | Alex Tambellini | 2013-08-02 | 1 | -48/+4 |
| | | | | | | | | | | | | | | | | | | Hopefully the first of many related to #11700. With these changes the railties tests wont 100% pass but at least they will run and show the errors. The first problem was the @method_name variable was never set. This was causing ENV["ISOLATION_TEST"] to always be nil which would cause the test output to never be written to the tempfile. The second problem was that an invalid -t option was being passed to minitest and minitest was erroring out. The third problem was the run method needs to always return an instance of the test class it is trying to isolate. We were returning a ProxyTestResult instead. | ||||
* | Updates to make rails 4 happy with minitest 5: | Ryan Davis | 2013-05-06 | 1 | -11/+6 |
| | | | | | | | | | | + Namespace changes, overhaul of runners. + Internal ivar name changes - Removed a logger globally applied to tests that spew everywhere?!? + Override Minitest#__run to sort tests by name. + Reworked testing isolation to work with the new cleaner architecture. - Removed a bunch of tests that just test minitest straight up. I think these changes were all merged to minitest 4 a long time ago. - Minor report output differences. | ||||
* | Work around change in how MiniTest detects SIGINFO | Jon Leighton | 2013-05-03 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | MiniTest 4.7.3 detects the presence of SIGINFO and stores the answer in a constant. It seems that MiniTest 4.7.4 changes this, and instead relies on an info_signal method being implemented on the runner object. In ActiveSupport::Testing::Isolation, we use ProxyTestResult to stand in for the runner object. This object implements `method_missing`, and as such its #info_signal method has a truthy return value. This results in MiniTest trying to install the SIGINFO handler on platforms where SIGINFO does not exists. To fix, I am simply defining an explicit ProxyTestResult#info_signal method. | ||||
* | Bump up minitest dependency and remove our own reinvented version of ↵ | Akira Matsuda | 2013-02-19 | 1 | -37/+1 |
| | | | | ParallelEach | ||||
* | 'minitest/parallel_each' might not always be available | Akira Matsuda + Koichi Sasada | 2013-01-29 | 1 | -1/+4 |
| | |||||
* | Needs to explicitly require 'minitest/parallel_each' | Akira Matsuda + Koichi Sasada | 2013-01-29 | 1 | -0/+2 |
| | | | | Minitest has changed to require this since https://github.com/seattlerb/minitest/commit/728054b | ||||
* | The test setup is not threadsafe. Wrap in a mutex. | Jon Leighton | 2013-01-18 | 1 | -3/+7 |
| | |||||
* | MiniTest already defines a ParallelEach class | Jon Leighton | 2013-01-18 | 1 | -23/+27 |
| | | | | | This may or may not fix the intermittent railties failures we've been seeing on the CI with Ruby 2.0. We'll see. | ||||
* | added marshal_load and marshal_dump for ProxyTestResult. Behavior of ↵ | SHIBATA Hiroshi | 2013-01-05 | 1 | -2/+10 |
| | | | | method_missing with Marshal.dump and Marshal.load is changing in ruby 2.0.0 later. | ||||
* | add :nodoc: to internal implementations [ci skip] | Francesco Rodriguez | 2012-06-22 | 1 | -1/+1 |
| | |||||
* | 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 |
| | |||||
* | no need in separate MiniTest modules | Sergey Nartimov | 2012-01-24 | 1 | -14/+8 |
| | |||||
* | Test::Unit::Collector::ObjectSpace is not present anymore | Rafael Mendonça França | 2012-01-18 | 1 | -10/+0 |
| | |||||
* | support only MiniTest run with Isolation test | Vishnu Atrai | 2012-01-05 | 1 | -29/+1 |
| | |||||
* | Config is deprecated on 1.8.8 and 1.9.3 use RbConfig | Santiago Pastorino | 2010-08-23 | 1 | -1/+1 |
| | |||||
* | AS::Isolation functional on Windows/JRuby. | Nick Sieger | 2010-06-24 | 1 | -8/+11 |
| | | | | | | Doesn't make up for the fact that it's slooooooooow, though. Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Use Config::CONFIG['host_os'] instead of RUBY_PLATFORM [#4477 state:resolved] | Anil Wadghule | 2010-04-26 | 1 | -1/+2 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Remove some 1.9 warnings (resulting in some fixed bugs). Remaining AM ↵ | wycats | 2010-03-17 | 1 | -2/+2 |
| | | | | warnings are in dependencies. | ||||
* | Allow ActiveSupport's isolation tests to run with MiniTest on 1.9 | Carl Lerche | 2009-12-30 | 1 | -18/+46 |
| | |||||
* | Fixes remote errors in isolation tests | Yehuda Katz | 2009-11-23 | 1 | -0/+15 |
| | |||||
* | Have all the tests running off a single Gemfile | Yehuda Katz + Carl Lerche | 2009-10-20 | 1 | -2/+0 |
| | |||||
* | Deprecate RAILS_ROOT in favor of Rails.root (which proxies to the ↵ | Carl Lerche | 2009-10-16 | 1 | -0/+2 |
| | | | | application's object root) | ||||
* | Finish porting over the initializers to the app object and fix all the tests | Carl Lerche | 2009-10-14 | 1 | -2/+0 |
| | |||||
* | To unmarshal MissingSourceFile from child | Jeremy Kemper | 2009-10-09 | 1 | -1/+3 |
| | |||||
* | Fix the broken railties isolation tests | Carl Lerche | 2009-09-29 | 1 | -4/+9 |
| | |||||
* | Get Initializer tests running without requiring parts of Rails being loaded ↵ | Yehuda Katz + Carl Lerche | 2009-07-06 | 1 | -70/+72 |
| | | | | first | ||||
* | Adds support for def self.setup in isolation tests for setup that should be ↵ | Yehuda Katz + Carl Lerche | 2009-07-02 | 1 | -0/+5 |
| | | | | run only once in the parent | ||||
* | Crazy hacks to get the Isolation testing module to work on non forking ↵ | Yehuda Katz + Carl Lerche | 2009-06-30 | 1 | -10/+69 |
| | | | | environments | ||||
* | Created AS::Testing::Isolation which runs each test case in a separate process. | Yehuda Katz + Carl Lerche | 2009-06-30 | 1 | -0/+39 |
This allows for testing rails bootup (files are required, correct constants are set, etc...). Currently, this is implemented via forking only, but we will add support for jruby and windows shortly. |