Class: TestCase
- Inherits:
-
Object
- Object
- TestCase
- Defined in:
- lib/ui/test-cases/TestCase.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ TestCase
constructor
A new instance of TestCase.
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 |