tastevin

module
v0.0.0-...-7dbd9af Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2020 License: BSD-3-Clause

README

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.

Directories

Path Synopsis
cmds
gotest
Gotest process JSON stream generated by `go test -json` or `test2json`.
Gotest process JSON stream generated by `go test -json` or `test2json`.
pkg
asciicast
Package asciicast handle logs compatible with the asciinema command asciicast file format (version 2) reference: https://github.com/asciinema/asciinema/blob/master/doc/asciicast-v2.md
Package asciicast handle logs compatible with the asciinema command asciicast file format (version 2) reference: https://github.com/asciinema/asciinema/blob/master/doc/asciicast-v2.md
browser
Package browser provides utilities for interacting with users' browsers.
Package browser provides utilities for interacting with users' browsers.
em100
Package em100 provides a Go API for controlling the em100 flash emulator
Package em100 provides a Go API for controlling the em100 flash emulator
ipmi
Package ipmi implement the XXX interface over IPMI
Package ipmi implement the XXX interface over IPMI
json2test
Package json2test decodes JSON output from test2json.
Package json2test decodes JSON output from test2json.
qemu
Package qemu implement the XXX interface on qemu
Package qemu implement the XXX interface on qemu
relay
Package relay provides a Go API for controlling the relays that powers nodes
Package relay provides a Go API for controlling the relays that powers nodes
scriptreplay
Package scriptreplay handle logs compatible with the scriptreplay command
Package scriptreplay handle logs compatible with the scriptreplay command
serial
Package serial implement the XXX interface over serial
Package serial implement the XXX interface over serial
xio
Package xio eXtend io package
Package xio eXtend io package
xio/iotest
Package iotest provide helpers to test io interfaces
Package iotest provide helpers to test io interfaces
scripts
checklicenses
Run with `go run checklicenses.go`.
Run with `go run checklicenses.go`.

Jump to

Keyboard shortcuts

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