mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-10 17:43:00 +08:00
17 lines
348 B
Go
17 lines
348 B
Go
package main
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/httprunner/httprunner/v5/cmd"
|
|
"github.com/spf13/cobra/doc"
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
// run this test to generate markdown docs for hrp command
|
|
func TestGenMarkdownTree(t *testing.T) {
|
|
addAllCommands()
|
|
err := doc.GenMarkdownTree(cmd.RootCmd, "../../docs/cmd")
|
|
assert.Nil(t, err)
|
|
}
|