api

command
v0.0.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2023 License: MIT Imports: 6 Imported by: 0

README

API - functional tests

Let's assume you wrote some micro service exposing a simple REST API.
Let's further assume this API will be a 'name store' - So you can PUT names into it and GET a list of all names.

Directories:

  • nameapi - the microservice under test
  • tests - the testing code
  • healthcheck - contains a simple healthcheck that will help docker to determine that nameapi is available. The test-orchestration code will wait for nameapi to be healthy before starting the tests.

Take a look at main.go which implements the test orchestration using dockertest.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL