我在网上搜索了所有内容,但似乎找不到解决方法,以下示例不起作用:
# spec/my_spec.rb
describe myText do
it "won't work" do
raise "never reached"
end
it "will work", :focus => true do
1.should = 1
end
end
$ rspec --tag focus spec/my_spec.rb
Run Code Online (Sandbox Code Playgroud)
有帮助吗?