steinfletcher / apitest

A simple and extensible behavioural testing library for Go. You can use api test to simplify REST API, HTTP handler and e2e tests.
https://apitest.dev
MIT License
795 stars 55 forks source link

Feature/testing t interface #108

Closed anthonyfong100 closed 3 years ago

anthonyfong100 commented 3 years ago

Abstract out testing.T into an interface

Solves issue #105. By abstracting out testing.T interface, apitest can now integrate nicely with Ginkgo implementation of GinkgoT() test helper. An example has been added into the examples folder