Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This gem can not support nested example group? #3

Open
timsheng opened this issue Sep 25, 2014 · 3 comments
Open

This gem can not support nested example group? #3

timsheng opened this issue Sep 25, 2014 · 3 comments

Comments

@timsheng
Copy link

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

@kingsleyh
Copy link
Owner

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 notifications@github.com 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.

@kingsleyh
Copy link
Owner

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?

@timsheng
Copy link
Author

yes , i prefer the next one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants