File: additional_spec_suite_test.go

package info (click to toggle)
golang-github-onsi-ginkgo-v2 2.27.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,340 kB
  • sloc: javascript: 65; makefile: 23; sh: 14
file content (26 lines) | stat: -rw-r--r-- 629 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package additional_spec_test

import (
	. "github.com/onsi/ginkgo/v2"
	. "github.com/onsi/gomega"

	. "github.com/onsi/ginkgo/v2/integration/_fixtures/coverage_fixture"
	. "github.com/onsi/ginkgo/v2/integration/_fixtures/coverage_fixture/external_coverage"

	"testing"
)

func TestAdditionalSpecSuite(t *testing.T) {
	RegisterFailHandler(Fail)
	RunSpecs(t, "AdditionalSpec Suite")
}

var _ = Describe("CoverageFixture", func() {
	It("should test E", func() {
		Ω(E()).Should(Equal("tested by additional"))
	})

	It("should test external package", func() {
		Ω(TestedByAdditional()).Should(Equal("tested by additional"))
	})
})