mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
18 lines
277 B
Go
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)
|
|
}
|
|
}
|