Skip to content

Linting rule to require usage of testify #281

@oliverisaac

Description

@oliverisaac

Would it be reasonable to add a linting rule that requires the use of testify in tests?

Failure examples:

if err != nil {
  t.Fatal("Thing should not error")
}
if a == b {
  t.Fatal("A and B should not be equal")
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions