Method: MSpecCI#run

Defined in:
lib/mspec/commands/mspec-ci.rb

#runObject



66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# File 'lib/mspec/commands/mspec-ci.rb', line 66

def run
  MSpec.register_mode :no_ruby_bug

  MSpec.register_tags_patterns config[:tags_patterns]
  MSpec.register_files @files

  tags = ["fails", "critical", "unstable", "incomplete", "unsupported"]
  tags += Array(config[:ci_xtags])

  filter = TagFilter.new(:exclude, *tags)
  filter.register

  MSpec.process
  exit MSpec.exit_code
end