Open rdw-software opened 1 year ago
It clearly counts every call to describe and it as a separate test, which can be seen with a trivial example.
describe
it
describe("something", function() it("should still only count as one test", function() -- This is the only test that should count end) end)
This will display "3 tests complete", and so on. There may be some other scenarios where different behavior is needed?
Clearly caused by the mess in the C_Testing API (see #70 ). That's what you get when you commit prototypes, I guess 🤷♂️
C_Testing
It clearly counts every call to
describe
andit
as a separate test, which can be seen with a trivial example.This will display "3 tests complete", and so on. There may be some other scenarios where different behavior is needed?