module Maxitest::Testrbl

def self.partition_options(options)

def self.partition_options(options)
  next_is_before = false
  options.partition do |option|
    if next_is_before
      next_is_before = false
      true
    else
      if option =~ /^-(r|I)/
        next_is_before = (option.size == 2)
        true
      else
        false
      end
    end
  end
end