Skip to content

Decide on panics vs using t.Error across test suite to make developer errors more explicit #1321

Closed

Description

@Manav-Aggarwal
The reason I use panics here is because it is a developer error. I think it makes it more explicit that the developer needs 
to update how they wrote the test, vs seeing a test failure. 

This could be a low priority follow up to discuss with the team how we want to handle these types of situations and 
ensure the rest of the test suite is aligned.

Originally posted by @MSevey in #1313 (comment)

Activity

  1. added
    T:code-hygiene
    T:testing
    and removed on Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    T:code-hygieneT:testing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions