mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-15 20:38:44 +08:00
change: relocate files
This commit is contained in:
17
docs/cmd/doc_test.go
Normal file
17
docs/cmd/doc_test.go
Normal file
@@ -0,0 +1,17 @@
|
||||
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, "./")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user