Replies: 1 comment 2 replies
-
|
The important point of having nested scopes is not simply to provide a visual hierarchy, but to allow data from outer scopes to be used in the inner scopes. That becomes difficult and very convoluted with nested classes. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In #30 @asbjornu brings up the idea of having nested test scopes, which should allow for something like
respectively
similar to nested describe / test / it in some JS test frameworks.
While I'm not sure this is worth implementing or using, given the complexities (order of evaluation, scoping, async) with the 'deferred' execution of the tests, I'm willing to explore solutions.
Maybe we could rather 'implement' that feature with nested (static) test classes?
Beta Was this translation helpful? Give feedback.
All reactions