...
1 package coverage_fixture_test
2
3 import (
4 . "github.com/onsi/ginkgo/v2/integration/_fixtures/coverage_fixture"
5 . "github.com/onsi/ginkgo/v2/integration/_fixtures/coverage_fixture/external_coverage"
6
7 . "github.com/onsi/ginkgo/v2"
8 . "github.com/onsi/gomega"
9 )
10
11 var _ = Describe("CoverageFixture", func() {
12 It("should test A", func() {
13 Ω(A()).Should(Equal("A"))
14 })
15
16 It("should test B", func() {
17 Ω(B()).Should(Equal("B"))
18 })
19
20 It("should test C", func() {
21 Ω(C()).Should(Equal("C"))
22 })
23
24 It("should test D", func() {
25 Ω(D()).Should(Equal("D"))
26 })
27
28 It("should test external package", func() {
29 Ω(Tested()).Should(Equal("tested"))
30 })
31 })
32
View as plain text