It clearly counts every call to describe and it as a separate test, which can be seen with a trivial example.
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?
It clearly counts every call to
describeanditas 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?