module ActiveSupport::Testing::Isolation

def self.forking_env?

def self.forking_env?
  !ENV["NO_FORK"] && Process.respond_to?(:fork)
end

def self.included(klass) # :nodoc:

:nodoc:
def self.included(klass) # :nodoc:
  klass.class_eval do
    parallelize_me!
  end
end

def run

def run
  serialized = run_in_isolation do
    super
  end
  Marshal.load(serialized)
end