mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-14 12:57:35 +08:00
26 lines
440 B
Go
26 lines
440 B
Go
package scaffold
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestGenDemoExamples(t *testing.T) {
|
|
dir := "../../../examples/demo-with-go-plugin"
|
|
err := CreateScaffold(dir, Go, true)
|
|
if err != nil {
|
|
t.Fatal()
|
|
}
|
|
|
|
dir = "../../../examples/demo-with-py-plugin"
|
|
err = CreateScaffold(dir, Py, true)
|
|
if err != nil {
|
|
t.Fatal()
|
|
}
|
|
|
|
dir = "../../../examples/demo-without-plugin"
|
|
err = CreateScaffold(dir, Ignore, true)
|
|
if err != nil {
|
|
t.Fatal()
|
|
}
|
|
}
|