rspec_reports_formatter
rspec_reports_formatter copied to clipboard
This gem can not support nested example group?
when i organize my test cases in this style. the html report doesn't display right. describe "first example group" do it "should be success" do 1.should eql 1 end describe "nested example group" do it "should be success again" do 2.should eql 2 end end it "should be failure" do 1.should eql 2 end it "should be pending" do pending end end
Hmm I never considered nested describe blocks - I'll have to investigate how best to handle them
Sent from my iPad
On 25 Sep 2014, at 14:56, tim_sheng [email protected] wrote:
when i organize my test cases in this style. the html report doesn't display right. describe "first example group" do it "should be success" do 1.should eql 1 end describe "nested example group" do it "should be success again" do 2.should eql 2 end end it "should be failure" do 1.should eql 2 end it "should be pending" do pending end end
— Reply to this email directly or view it on GitHub.
Would you prefer they end up as separate files as if they were not nested? Or you would prefer to maintain the nesting in the report?
yes , i prefer the next one.