github.com/atlassian/git-lob@v0.0.0-20150806085256-2386a5ed291a/suite_test.go (about)

     1  package main
     2  
     3  import (
     4  	"testing"
     5  
     6  	. "github.com/atlassian/git-lob/Godeps/_workspace/src/github.com/onsi/ginkgo"
     7  	. "github.com/atlassian/git-lob/Godeps/_workspace/src/github.com/onsi/gomega"
     8  	. "github.com/atlassian/git-lob/util"
     9  )
    10  
    11  func TestAll(t *testing.T) {
    12  	// Connect Ginkgo to Gomega
    13  	RegisterFailHandler(Fail)
    14  
    15  	// Set manual logging off
    16  	loggingOff := true
    17  	//loggingOff = false
    18  	if loggingOff {
    19  		LogSuppressAllConsoleOutput()
    20  	}
    21  
    22  	// Run everything
    23  	RunSpecs(t, "Git Lob Root Test Suite")
    24  }