mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-07 08:22:41 +08:00
16 lines
259 B
Go
16 lines
259 B
Go
package cmd
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/spf13/cobra/doc"
|
|
)
|
|
|
|
// run this test to generate markdown docs for hrp command
|
|
func TestGenMarkdownTree(t *testing.T) {
|
|
err := doc.GenMarkdownTree(rootCmd, "../../docs/cmd")
|
|
if err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
}
|