HTML output generator for the BDD framework GoGiven
import github.com/corbym/htmlspec
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...