Sha256: 44b5296bbc9e0aa89aeb0b9b97be759e0bfaa868748bcdb4c17775f816d848f5
Contents?: true
Size: 1.16 KB
Versions: 9
Compression:
Stored size: 1.16 KB
Contents
# -*- coding: utf-8 -*- # # Copyright (C) 2012-2013 Kouhei Sutou <kou@clear-code.com> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. require "grntest/reporters/mark-reporter" require "grntest/reporters/stream-reporter" require "grntest/reporters/inplace-reporter" module Grntest module Reporters class << self def create_reporter(tester) case tester.reporter when :mark MarkReporter.new(tester) when :stream StreamReporter.new(tester) when :inplace InplaceReporter.new(tester) end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems