| 1 |
package additional_spec_test |
| 2 |
|
| 3 |
import ( |
| 4 |
. "github.com/onsi/ginkgo/v2" |
| 5 |
. "github.com/onsi/gomega" |
| 6 |
|
| 7 |
. "github.com/onsi/ginkgo/v2/integration/_fixtures/coverage_fixture" |
| 8 |
. "github.com/onsi/ginkgo/v2/integration/_fixtures/coverage_fixture/external_coverage" |
| 9 |
|
| 10 |
"testing" |
| 11 |
) |
| 12 |
|
| 13 |
func TestAdditionalSpecSuite(t *testing.T) { |
| 14 |
RegisterFailHandler(Fail) |
| 15 |
RunSpecs(t, "AdditionalSpec Suite") |
| 16 |
} |
| 17 |
|
| 18 |
var _ = Describe("CoverageFixture", func() { |
| 19 |
It("should test E", func() { |
| 20 |
Ω(E()).Should(Equal("tested by additional")) |
| 21 |
}) |
| 22 |
|
| 23 |
It("should test external package", func() { |
| 24 |
Ω(TestedByAdditional()).Should(Equal("tested by additional")) |
| 25 |
}) |
| 26 |
}) |