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

Create assertion library

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.2.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: