Nested describe blocks don't show in runner

Description

HTML runner only shows a suite if it has at least one spec in it, but doesn't take into account specs in nested suites. The latter will not show the spec in the runner output even though it runs and shows as "pass". If you add a spec to the outer suite, it will being displaying correctly.

describe( "Outer describe", function(){ describe( "Inner describe", function(){ it( "Tests are ONLY in inner it()", function(){ // Test here }); }); });

Gliffy Diagrams

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Sentry

Created February 1, 2014 at 7:32 PM
Updated February 3, 2014 at 8:47 AM
Resolved February 3, 2014 at 8:47 AM