Class: Spider::TestCase

Inherits:
Test::Unit::TestCase
  • Object
show all
Defined in:
lib/spiderfw/test/unit.rb

Instance Method Summary collapse

Instance Method Details

#default_testObject



17
18
19
# File 'lib/spiderfw/test/unit.rb', line 17

def default_test
    return super unless self.class == Spider::TestCase
end

#setupObject



9
10
11
# File 'lib/spiderfw/test/unit.rb', line 9

def setup
    Spider::Test.before
end

#teardownObject



13
14
15
# File 'lib/spiderfw/test/unit.rb', line 13

def teardown
    Spider::Test.after
end