Module: Citron::DSL

Defined in:
lib/citron.rb

Instance Method Summary collapse

Instance Method Details

#test_case(label, *tags, &block) ⇒ Object Also known as: TestCase, testcase

Define a general test case.



12
13
14
15
# File 'lib/citron.rb', line 12

def test_case(label, *tags, &block)
  testcase = Citron::TestCase.context(label, *tags, &block)
  $TEST_SUITE << testcase.new
end