doc.go 849 B

123456789101112131415161718
  1. // A set of packages that provide many tools for testifying that your code will behave as you intend.
  2. //
  3. // testify contains the following packages:
  4. //
  5. // The assert package provides a comprehensive set of assertion functions that tie in to the Go testing system.
  6. //
  7. // The http package contains tools to make it easier to test http activity using the Go testing system.
  8. //
  9. // The mock package provides a system by which it is possible to mock your objects and verify calls are happening as expected.
  10. //
  11. // The suite package provides a basic structure for using structs as testing suites, and methods on those structs as tests. It includes setup/teardown functionality in the way of interfaces.
  12. package testify
  13. import (
  14. _ "github.com/stretchr/testify/assert"
  15. _ "github.com/stretchr/testify/http"
  16. _ "github.com/stretchr/testify/mock"
  17. )