[go-nuts] Are Go test methods run serially?
The post over on stack overflow is confused. The behaviour of go test is to test multiple packages concurrently, inside a single package tests are executed serially by default. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[go-nuts] Are Go test methods run serially?
My understanding is that they are run serially. You need to call t.Parallel() in the beginning of each test to make it run in parallel with other tests. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[go-nuts] Are Go test methods run serially?
Go test methods run in separate goroutines but those routines are run serially right? So variable assignments shouldn't get stomped by other tests? I saw a comment saying they're *concurrent*, but not *parallel* by default. http://stackoverflow.com/questions/24375966/does-go-test-run-unit-tests-concurrently/24376644#24376644 How is it still considered concurrent if they're run serially? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.