Sha256: 54e2003f3421dfad0e2f2b99a64390b4e1aef2064a207fe18a1f3df45e283a40

Contents?: true

Size: 909 Bytes

Versions: 2

Compression:

Stored size: 909 Bytes

Contents

# -*- encoding: utf-8 -*-
#
# Author:: Omer Katz (<omer@zimperium.com>)
#
# Copyright (C) 2014, Omer Katz
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

require 'busser/runner_plugin'

# A Busser runner plugin for Nose2.
#
# @author Omer Katz <omer.drow@gmail.com>
#
class Busser::RunnerPlugin::Nose2 < Busser::RunnerPlugin::Base

  def test
    run!("nose2 --start-dir #{suite_path('nose2').to_s}")
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
busser-nose2-0.1.0 lib/busser/runner_plugin/nose2.rb
busser-nose2-0.1.0.dev lib/busser/runner_plugin/nose2.rb