Skip to content

corbym/htmlspec

Repository files navigation

htmlspec

Build status GoDoc Go Report Card Coverage Status

HTML output generator for the BDD framework GoGiven

Import:

import github.com/corbym/htmlspec

Usage:

package foo
import (
	"testing"
	"github.com/corbym/gogiven"
	"github.com/corbym/htmlspec"
	"os"
)

func TestMain(testmain *testing.M) {
	gogiven.Generator = htmlspec.NewTestOutputGenerator()
	runOutput := testmain.Run()
	gogiven.GenerateTestOutput()
	os.Exit(runOutput)
}

... actual tests...