Skip to content

JulienVdG/tastevin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tastevin

A collection of package and tools for testing LinuxBoot

Gotest

The gotest command is a wrapper for running go test --json and preparing test data for rendering them with GoTestWeb

Usage

Run tests

gotest run go test --json ./...

View results

gotest serve

View tests running

gotest live go test --json ./...

Generate data for external web-server (CI)

gotest gen

build a standalone binary (including resources)

This is possible using go.rice, first install the rice tool. Use one of the following command set to build:

  1. by generating go code
rice embed-go -i ./pkg/gotestweb/
go build ./cmds/gotest/
  1. by appending an archive
go build ./cmds/gotest/
rice -i ./pkg/gotestweb/ append --exec gotest

In both case you get a gotest executable that embed the GoTestWeb data. You can move it anywhere and still can use gotest gen.

About

golang tools and packages for remote server testing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published