Sha256: 38e6e3d0a42d45f791305a1fb82b4d3df590b1eb5fe4cc90ffc65423669b6b00

Contents?: true

Size: 494 Bytes

Versions: 2

Compression:

Stored size: 494 Bytes

Contents

#

testcase Lemon::Coverage do

  #Before /returns/ do |unit|
  #  puts "returns something"
  #end

  unit :coverage => 'returns a chart of coverage' do
    #X.new.a.assert.is_a?(String)
  end

  unit :cover => 'returns a pre-checked chart of potential coverage' do
    #X.new.a.assert =~ /^[a-z]*$/
  end

  unit :system => 'returns a list of classes/modules currently in the Ruby proccess' do
    #1.assert == 4
  end

  #unit :snapshot => 'can be broken' do
  #  #1.assert == 4
  #end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lemon-0.6 test/cases/coverage_case.rb
lemon-0.5 test/cases/coverage_case.rb