practical-test-pyramid-go

module
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: MIT

README

Practical Test Pyramid with Go

GoDoc Automated tests Go Report Card

Practical Test Pyramid with Go is an experiment to work with all layers of the Practical Test Pyramid introduced by Ham Vocke in 2018.

Getting started

$ docker-compose up -d --build

Run tests

$ docker exec -it app make test

Directories

Path Synopsis
cmd
server
The server application acts as a server handling customer requests.
The server application acts as a server handling customer requests.
internal
pkg
handler
Package handler holds all the HTTP handlers which will serve HTTP requests.
Package handler holds all the HTTP handlers which will serve HTTP requests.
service
Package service provides a simple service on which we can experiment tests Part of the Test Double repository I also published https://github.com/alr-lab/test-double-go
Package service provides a simple service on which we can experiment tests Part of the Test Double repository I also published https://github.com/alr-lab/test-double-go

Jump to

Keyboard shortcuts

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