Skip to content

Commit

Permalink
Enabline concurrent execution of test methods for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdwhatcott committed Jan 31, 2014
1 parent 6906305 commit 29375dc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/assertion_examples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import (
)

func TestAssertions(t *testing.T) {
t.Parallel()

Convey("All assertions should be accessible", t, func() {
Convey("Equality assertions should be accessible", func() {
thing1a := thing{a: "asdf"}
Expand Down
2 changes: 2 additions & 0 deletions examples/bowling_game_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ import (
)

func TestScoring(t *testing.T) {
t.Parallel()

Convey("Subject: Bowling Game Scoring", t, func() {
var game *Game // Whatever you do, don't do this: game := NewGame()
// Otherwise nested closures won't reference the correct instance
Expand Down
2 changes: 2 additions & 0 deletions examples/simple_example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import (
)

func TestSpec(t *testing.T) {
t.Parallel()

Convey("Subject: Integer incrementation and decrementation", t, func() {
var x int

Expand Down

0 comments on commit 29375dc

Please sign in to comment.