This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Running rails tests in the new test runner are not transactional even with use_transactional_fixtures set to true. The reason is that code in nb_test_mediator.rb is adds an inherited method to Test::Unit::TestCase without delegating to super, which causes class_inheritable_attributes to be broken for this class. Attached is a fixed version.
Created attachment 72205 [details] Fixed version of nb_test_mediator.rb
Increasing priority, I think this should be fixed for 6.5. Apparently you attached a wrong file, but based on your blog post I assume that the patch added calls to the original inherited method and to super, right?
Forgot to actually increase the priority. I think this is a stopper for FCS (probably not for RC1 though).
Please, go ahead and do the fix in trunk/verification and push the change in release65. Thanks
Created attachment 72277 [details] nb_test_mediator.rb
Thanks. I pushed the fix to trunk, changeset http://hg.netbeans.org/main/rev/957d0a695e3a. Marking as fixed, can you please verify (i.e. change the resolution to verified) this so that I can transplant the fix to the 6.5 clone?
Integrated into 'main-golden', will be available in build *200810210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/957d0a695e3a User: Erno Mononen <emononen@netbeans.org> Log: #150626: New testrunner causes transactional rails test to not be transactional - special thanks to Chris Nelson who provided the patch
Verified in #200810210201 trunk build