smartystreets / goconvey

Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go.
http://smartystreets.github.io/goconvey/
Other
8.25k stars 555 forks source link

Stop GoConvey from running test concurrently #544

Open tom10271 opened 6 years ago

tom10271 commented 6 years ago

I am trying to build and run test for CI. I will reset DB, ES and Redis before each test, GoConvey will trigger undesired behavior that can be avoided if tests are running synchronously

sefasenturk95 commented 5 years ago

@tom10271 Have you found a decent workaround for this?

tom10271 commented 5 years ago

I am using go test to run tests synchronously with GoConvey

MattLish commented 5 years ago

For anyone looking for this, you can set the number of packages to be tested synchronously.

Synchronous with CLI:

go test ./... 

Synchronous with the web ui:

goconvey -packages=1