method

create_and_run_single_test

rails latest stable - Class: Rails::TestTask::TestCreator

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.

create_and_run_single_test()
private

No documentation available.

# File railties/lib/rails/test_unit/sub_test_task.rb, line 26
        def create_and_run_single_test
          Rails::TestTask.new('test:single') { |t|
            t.test_files = @info.files
          }
          ENV['TESTOPTS'] ||= @info.opts
          Rake::Task['test:single'].invoke
        end