https://github.com/codewars/ginkgo
Custom reporter for Ginkgo
https://github.com/codewars/ginkgo
code-runner test-reporting
Last synced: 12 months ago
JSON representation
Custom reporter for Ginkgo
- Host: GitHub
- URL: https://github.com/codewars/ginkgo
- Owner: codewars
- License: mit
- Created: 2019-08-02T19:43:54.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-10T22:31:24.000Z (over 3 years ago)
- Last Synced: 2025-01-10T05:35:53.085Z (about 1 year ago)
- Topics: code-runner, test-reporting
- Language: Go
- Homepage:
- Size: 2.93 KB
- Stars: 2
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## Codewars Ginkgo Reporter
Custom reporter for [Ginkgo](http://onsi.github.io/ginkgo/) testing framework.
### Usage
```go
package example_test
import (
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"testing"
"github.com/Codewars/ginkgo/reporter"
)
func TestExample(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecsWithCustomReporters(t, "Example Test", []Reporter{reporter.New()})
}
```