我认为有一个命令要声明rspec(rails)中的整个示例组是待处理的
我相信它就像before {pending}
,但我再也找不到了。
有谁知道你怎么能做到这一点?
context "Group1" do
before { pending }
it "example1" do
end
it "example2" do
end
it "example3" do
end
end
答案 0 :(得分:1)
pending "Group1" do
it "example1" do
end
it "example2" do
end
it "example3" do
end
end
答案 1 :(得分:0)
使用待处理的
简单替换descibe或context pending "Group1" do
before { pending }
it "example1" do
end
it "example2" do
end
it "example3" do
end
end