-
-
Notifications
You must be signed in to change notification settings - Fork 667
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix binary paths when precompiling multiple suites.
- Loading branch information
Showing
6 changed files
with
82 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
integration/_fixtures/build_reporting_fixture/suite1/build_reporting_1_suite_test.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package suite1_test | ||
|
||
import ( | ||
. "github.com/onsi/ginkgo/v2" | ||
. "github.com/onsi/gomega" | ||
|
||
"testing" | ||
) | ||
|
||
func TestAfterRunHook(t *testing.T) { | ||
RegisterFailHandler(Fail) | ||
RunSpecs(t, "Build reporting suite 1") | ||
} |
18 changes: 18 additions & 0 deletions
18
integration/_fixtures/build_reporting_fixture/suite1/build_reporting_1_test.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package suite1_test | ||
|
||
import ( | ||
. "github.com/onsi/ginkgo/v2" | ||
. "github.com/onsi/gomega" | ||
) | ||
|
||
var _ = Describe("Testing", func() { | ||
It("it should succeed", func() { | ||
Ω(true).Should(Equal(true)) | ||
}) | ||
|
||
PIt("a failing test", func() { | ||
It("should fail", func() { | ||
Ω(true).Should(Equal(false)) | ||
}) | ||
}) | ||
}) |
13 changes: 13 additions & 0 deletions
13
integration/_fixtures/build_reporting_fixture/suite2/build_reporting_2_suite_test.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package suite2_test | ||
|
||
import ( | ||
. "github.com/onsi/ginkgo/v2" | ||
. "github.com/onsi/gomega" | ||
|
||
"testing" | ||
) | ||
|
||
func TestAfterRunHook(t *testing.T) { | ||
RegisterFailHandler(Fail) | ||
RunSpecs(t, "Build reporting suite 1") | ||
} |
18 changes: 18 additions & 0 deletions
18
integration/_fixtures/build_reporting_fixture/suite2/build_reporting_2_test.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package suite2_test | ||
|
||
import ( | ||
. "github.com/onsi/ginkgo/v2" | ||
. "github.com/onsi/gomega" | ||
) | ||
|
||
var _ = Describe("Testing", func() { | ||
It("it should succeed", func() { | ||
Ω(true).Should(Equal(true)) | ||
}) | ||
|
||
PIt("a failing test", func() { | ||
It("should fail", func() { | ||
Ω(true).Should(Equal(false)) | ||
}) | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters