Sha256: 1c4307ae2f6f75833a965e1705bb2387b975a5c8851422c68acab5a9b6456fe6
Contents?: true
Size: 764 Bytes
Versions: 2
Compression:
Stored size: 764 Bytes
Contents
require 'test/test_helper' require 'lib/phocus/contest' class Test::Unit::TestCase def setup reset_phocused_classes(TestContestA, TestContestB, TestContestC) reset_phocus end end # should focus a method class TestContestA < Test::Unit::TestCase test "foo" do flunk "not focused" end focus test "bar" do assert true end test "baz" do flunk "not focused" end end # should focus methods across test classes class TestContestB < Test::Unit::TestCase test "abc" do flunk "not focused" end focus test "def" do assert true end focus test "ghi" do assert true end end # should not complain when no methods are left after focusing class TestContestC < Test::Unit::TestCase test "xyz" do end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mynyml-phocus-0.9.4 | test/compat/test_contest.rb |
mynyml-phocus-0.9.8 | test/compat/test_contest.rb |