banditcpp / bandit

Human-friendly unit testing for C++11
https://banditcpp.github.io/bandit/
Other
259 stars 37 forks source link

it() allowed without describe() #123

Closed sbeyer closed 6 years ago

sbeyer commented 6 years ago

Currently it() can be used without describe(). However, this is not intended and the info reporter crashes in that case.

I doubt that it is a reasonable use-case and tend to restrict the use of it() to only work within a describe().

Thanks to @bgraf for reporting.