Skip to content

The summary displayed after running unit tests is wrong when using nested calls #159

@rdw-software

Description

@rdw-software

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions