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

how to run single Convey function ? #534

Open imiskolee opened 6 years ago

imiskolee commented 6 years ago

we will handle a lots Convey on single golang test function,maybe support --filter for Convey name is good idea for quick test on development stage.

mdwhatcott commented 6 years ago

https://godoc.org/github.com/smartystreets/goconvey/convey#FocusConvey

imiskolee commented 6 years ago

@mdwhatcott thanks a lot. but i think FocusConvey & SkipCovey isn't a good idea.

reasons:

  1. I need change top level Convey to FocusConvey
  2. i need change to FocusConvey for which convey function I want to run.
  3. I need back to Convey after i debug

the reasons its why i want --filter flag.