runner
runner copied to clipboard
Nested `Describe` are not presented correctly in test output panel
Test output panel does not present correctly nested Describe groups.
To Reproduce
Run following tests:
Describe(Outer_Group)
{
Describe(Inner_Group) {
It(should_do_something)
{
Assert::That("some value", Equals("another value"));
}
};
};
Kumite: https://www.codewars.com/kumite/6082b04e8843ad0032489920
Expected behavior
Both Outer_Group and Inner_Group should be present in test output panel.
Screenshots

Browser
Opera, Win 10
I might be misunderstanding, but I don't think Igloo allows reporting the nested context (Describe). The test listener receives a context with only the name set. There's no way to get the parent context.
https://github.com/codewars/igloo/blob/9c98bc7c47c423f2c5d18c0d3c35d63f6f545a85/igloo/core/contextregistry.h#L87