Module: Citron::DSL
- Defined in:
- lib/citron.rb
Instance Method Summary collapse
-
#test_case(label, *tags, &block) ⇒ Object
(also: #TestCase, #testcase)
Define a general test case.
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, *, &block) testcase = Citron::TestCase.context(label, *, &block) $TEST_SUITE << testcase.new end |