gof3/internal/hoverfly
Twenty Panda 709808e5ae
All checks were successful
/ backend-checks (pull_request) Successful in 3m40s
feat: add support for hoverfly
HOVERFLY=capture go test # capture HTTP into a json file
HOVERFLY=simulate go test # simulate HTTP from an existing json file

The `MainTest` function in the directory must have

  func TestMain(m *testing.M) {
    hoverfly.MainTest(m)
  }

and the test to be recorded must start with:

  defer hoverfly.Run(t, "MyTestSimulation")()

The hoverctl & hoverfly binaries must be in the path.

https://docs.hoverfly.io
2024-06-18 18:40:35 +02:00
..
hoverfly.go feat: add support for hoverfly 2024-06-18 18:40:35 +02:00
hoverfly_test.go feat: add support for hoverfly 2024-06-18 18:40:35 +02:00
main_test.go feat: add support for hoverfly 2024-06-18 18:40:35 +02:00