Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1253

Create assertion library

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:
      None

      Description

      Our integration tests currently depend on testify for assertions. This is a heavy dependency and we don't use most of it. Also, the require package we use for assertions has optional error messages and tries to generate one if it is not provided. This enforces an ordering on parameters to assertion functions, which we don't always follow, resulting in confusing error messages.

      Create a simple assertion library that takes the few assertions we need from testify and make error messages required instead of optional.

        Attachments

          Activity

            People

            Assignee:
            divjot.arora Divjot Arora
            Reporter:
            divjot.arora Divjot Arora
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: