You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can nest suites inside other suites, yet the setup and teardown operations don't behave intuitively. The reason is outer setup-teardowns don't get called when running inner suites.
Suggested solution
Nesting suites should make the outer setup and teardown be called when running tests belonging to inner suites, also wrapping the inner setup-teardowns.
Problem
You can nest
suite
s inside othersuite
s, yet thesetup
andteardown
operations don't behave intuitively. The reason is outersetup
-teardowns
don't get called when running inner suites.Suggested solution
Nesting
suite
s should make the outersetup
andteardown
be called when running tests belonging to inner suites, also wrapping the inner setup-teardowns.Example
The following sample test:
Would currently print the following:
Where the expected behaviour is:
The text was updated successfully, but these errors were encountered: