Sha256: 6a9b675dc5c8eb6b220f1096494ce5187ed55bc26ccf656579691a54c439e964

Contents?: true

Size: 410 Bytes

Versions: 3

Compression:

Stored size: 410 Bytes

Contents

require 'minitest/autorun'
require 'minitest/rg'

describe 'minitest-rg' do
  # generate passing
  it "passes" do
    assert_equal 1, 1, "Pass should be GREEN"
  end

  # generate failing
  it "fails" do
    assert_equal 1, 2, "Failure should be RED"
  end

  # generate error
  it "error" do
    raise "Error should be YELLOW"
  end

  # generate skip
  it "skips" do
    skip "Skip should be CYAN"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
minitest-rg-1.1.1 test/test_minitest-rg.rb
minitest-rg-1.1.0 test/test_minitest-rg.rb
minitest-rg-1.0.0 test/test_minitest-rg.rb