Sha256: e3bd5d44343fa89f5fda7819ffdffa93e51514d1bb065335ac32dfe882eb8ef8

Contents?: true

Size: 509 Bytes

Versions: 1

Compression:

Stored size: 509 Bytes

Contents

require 'test_helper'

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

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
m-0.0.1 test/multiple_test.rb