Class: TestCase

Inherits:
Object
  • Object
show all
Defined in:
lib/ui/test-cases/TestCase.rb

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ TestCase

Returns a new instance of TestCase.



2
3
4
5
6
7
8
# File 'lib/ui/test-cases/TestCase.rb', line 2

def initialize(name)
  if name.nil? or name.empty?
    raise "All TestCasses must have a name associated to them"
  end

  @name = name
end