github.com/onsi/ginkgo@v1.16.6-0.20211118180735-4e1925ba4c95/integration/_fixtures/reporting_fixture/reporting_fixture_test.go (about)

     1  package reporting_fixture_test
     2  
     3  import (
     4  	. "github.com/onsi/ginkgo"
     5  )
     6  
     7  var _ = Describe("reporting test", func() {
     8  	It("passes", func() {
     9  	})
    10  
    11  	Describe("labelled tests", Label("dog"), func() {
    12  		It("is labelled", Label("dog", "cat"), func() {
    13  		})
    14  	})
    15  
    16  	It("fails", func() {
    17  		GinkgoWriter.Print("some ginkgo-writer output")
    18  		Fail("fail!")
    19  	})
    20  
    21  	It("panics", func() {
    22  		panic("boom")
    23  	})
    24  
    25  	PIt("is pending", func() {
    26  
    27  	})
    28  
    29  	It("is skipped", func() {
    30  		Skip("skip")
    31  	})
    32  })