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

Create assertion library

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

      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.

            Assignee:
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Reporter:
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: