https://github.com/corbym/htmlspec
HTML output generator for GoGiven
https://github.com/corbym/htmlspec
bdd gogiven golang golang-testing html support
Last synced: 5 months ago
JSON representation
HTML output generator for GoGiven
- Host: GitHub
- URL: https://github.com/corbym/htmlspec
- Owner: corbym
- License: bsd-3-clause
- Created: 2018-01-13T18:21:37.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-01T09:33:15.000Z (over 8 years ago)
- Last Synced: 2025-08-14T04:06:32.173Z (10 months ago)
- Topics: bdd, gogiven, golang, golang-testing, html, support
- Language: Go
- Homepage:
- Size: 65.4 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# htmlspec
[](https://github.com/corbym/htmlspec)
[](http://godoc.org/github.com/corbym/htmlspec)
[](https://goreportcard.com/report/github.com/corbym/htmlspec)
[](https://coveralls.io/github/corbym/htmlspec)
HTML output generator for the BDD framework [GoGiven](https://github.com/corbym/gogiven)
## Import:
```go
import github.com/corbym/htmlspec
```
## Usage:
```go
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...
```