Files
httprunner/docs/doc_test.go
2021-10-17 11:51:49 +08:00

18 lines
277 B
Go

package cmd
import (
"testing"
"github.com/spf13/cobra/doc"
"github.com/httprunner/hrp/hrp/cmd"
)
// run this test to generate markdown docs
func TestGenMarkdownTree(t *testing.T) {
err := doc.GenMarkdownTree(cmd.RootCmd, "./cmd/")
if err != nil {
t.Fatal(err)
}
}