Sha256: 5f2a9120018a10261166d451caa0ff17506bc4f31a1569ce963e076aab89ca28

Contents?: true

Size: 494 Bytes

Versions: 10

Compression:

Stored size: 494 Bytes

Contents

require 'test_helper'

class MultipleTest < MTest
  def test_run_simple_test_by_line_number
    output = m('examples/multiple_example_test.rb:11')
    assert_output /1 tests, 1 assertions/, output
  end

  def test_runs_entire_test_without_line_number
    output = m('examples/multiple_example_test.rb')
    assert_output /4 tests/, output
  end

  def test_runs_all_tests_on_given_line_number
    output = m('examples/multiple_example_test.rb:6')
    assert_output /3 tests/, output
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
m-1.3.3 test/multiple_test.rb
m-1.3.2 test/multiple_test.rb
m-1.3.1 test/multiple_test.rb
m-1.3.0 test/multiple_test.rb
m-1.2.1 test/multiple_test.rb
m-1.2.0 test/multiple_test.rb
m-1.1.0 test/multiple_test.rb
m-1.0.1 test/multiple_test.rb
m-1.0.0 test/multiple_test.rb
m-1.0.0.pre test/multiple_test.rb