cblecker / ginkgo-volkswagen

detects when your ginkgo-based tests are being run in a CI server, and reports them as passing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ginkgo-volkswagen

GoDoc Go

ginko-volkswagen detects when your tests are being run in a CI server, and reports them as passing

Installation

go get github.com/cblecker/ginkgo-volkswagen

Usage

In order to use this package, you need use the Fail function as your failure handler:

import ginkgovolkswagen "github.com/cblecker/ginkgo-volkswagen"

func TestSuite(t *testing.T) {
    RegisterFailHandler(ginkgovolkswagen.Fail)
    ginkgo.RunSpecs(t, "Validation Tests")
}

Then enjoy your green CI results!

Credits

Heavily inspired by https://github.com/auchenberg/volkswagen

About

detects when your ginkgo-based tests are being run in a CI server, and reports them as passing

License:MIT License


Languages

Language:Go 100.0%