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 use goconvey & parse my own flag? #542

Open destinyjingkun opened 6 years ago

destinyjingkun commented 6 years ago

i have a flag -conf = config filepath but i don't know how to use the flag to send this flag ,i use .gonvey and -args -conf=../config.yml, but it doesn't work & return Coverage output: flag provided but not defined: -convey-json

mdwhatcott commented 6 years ago

Have you tried using a profile?

https://github.com/smartystreets/goconvey/wiki/Profiles

destinyjingkun commented 6 years ago

@mdwhatcott image

yeah, i'm found first img issue & using .goconveyfile, but still doesn't work...

image image image

this is my .goconvey file ,can you tell me where is wrong?