Skip to content

The analyzer should also detect describes #11

@ignacio-chiazzo

Description

@ignacio-chiazzo

describe uses subclasses under the hood which causes the tests to run multiple times. See this example:

class Foo < ActiveSupport::TestCase
  describe("something") do
    test("foo") do
      "my test"
    end
  end

  describe("something else") do
    test("bar") do
      "something"
    end
  end

  test("baz") do
    "I will run 3 times"
  end
end

minitest/minitest#839

The analyzer should detect multiple tests run by the describe.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions