diff --git a/examples/empty-demo-without-plugin/.env b/examples/demo-empty-project/.env similarity index 100% rename from examples/empty-demo-without-plugin/.env rename to examples/demo-empty-project/.env diff --git a/examples/empty-demo-without-plugin/.gitignore b/examples/demo-empty-project/.gitignore similarity index 100% rename from examples/empty-demo-without-plugin/.gitignore rename to examples/demo-empty-project/.gitignore diff --git a/examples/empty-demo-without-plugin/har/.keep b/examples/demo-empty-project/har/.keep similarity index 100% rename from examples/empty-demo-without-plugin/har/.keep rename to examples/demo-empty-project/har/.keep diff --git a/examples/demo-empty-project/proj.json b/examples/demo-empty-project/proj.json new file mode 100644 index 00000000..00831ae5 --- /dev/null +++ b/examples/demo-empty-project/proj.json @@ -0,0 +1,6 @@ +{ + "project_name": "demo-empty-project", + "project_path": "/Users/debugtalk/MyProjects/HttpRunner-dev/httprunner/examples/demo-empty-project", + "create_time": "2022-05-28T12:05:34.37753+08:00", + "hrp_version": "v4.1.0-beta" +} \ No newline at end of file diff --git a/examples/empty-demo-without-plugin/testcases/requests.json b/examples/demo-empty-project/testcases/requests.json similarity index 100% rename from examples/empty-demo-without-plugin/testcases/requests.json rename to examples/demo-empty-project/testcases/requests.json diff --git a/examples/demo-with-go-plugin/proj.json b/examples/demo-with-go-plugin/proj.json index 97b52ffa..c73eaf1a 100644 --- a/examples/demo-with-go-plugin/proj.json +++ b/examples/demo-with-go-plugin/proj.json @@ -1,6 +1,6 @@ { "project_name": "demo-with-go-plugin", "project_path": "/Users/debugtalk/MyProjects/HttpRunner-dev/httprunner/examples/demo-with-go-plugin", - "create_time": "2022-05-28T09:46:47.418012+08:00", + "create_time": "2022-05-28T12:05:24.919126+08:00", "hrp_version": "v4.1.0-beta" } \ No newline at end of file diff --git a/examples/demo-with-py-plugin/proj.json b/examples/demo-with-py-plugin/proj.json index a00b9247..62efacab 100644 --- a/examples/demo-with-py-plugin/proj.json +++ b/examples/demo-with-py-plugin/proj.json @@ -1,6 +1,6 @@ { "project_name": "demo-with-py-plugin", "project_path": "/Users/debugtalk/MyProjects/HttpRunner-dev/httprunner/examples/demo-with-py-plugin", - "create_time": "2022-05-28T09:46:52.419292+08:00", + "create_time": "2022-05-28T12:05:33.048579+08:00", "hrp_version": "v4.1.0-beta" } \ No newline at end of file diff --git a/examples/demo-without-plugin/proj.json b/examples/demo-without-plugin/proj.json index 489c9964..9f1070cc 100644 --- a/examples/demo-without-plugin/proj.json +++ b/examples/demo-without-plugin/proj.json @@ -1,6 +1,6 @@ { "project_name": "demo-without-plugin", "project_path": "/Users/debugtalk/MyProjects/HttpRunner-dev/httprunner/examples/demo-without-plugin", - "create_time": "2022-05-28T09:46:53.671932+08:00", + "create_time": "2022-05-28T12:05:34.258157+08:00", "hrp_version": "v4.1.0-beta" } \ No newline at end of file diff --git a/examples/empty-demo-without-plugin/proj.json b/examples/empty-demo-without-plugin/proj.json deleted file mode 100644 index cd42ca8d..00000000 --- a/examples/empty-demo-without-plugin/proj.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "project_name": "empty-demo-without-plugin", - "project_path": "/Users/debugtalk/MyProjects/HttpRunner-dev/httprunner/examples/empty-demo-without-plugin", - "create_time": "2022-05-28T09:46:53.794409+08:00", - "hrp_version": "v4.1.0-beta" -} \ No newline at end of file diff --git a/hrp/internal/scaffold/examples_test.go b/hrp/internal/scaffold/examples_test.go index 3bde77b0..d480ffb6 100644 --- a/hrp/internal/scaffold/examples_test.go +++ b/hrp/internal/scaffold/examples_test.go @@ -23,7 +23,7 @@ func TestGenDemoExamples(t *testing.T) { t.Fatal() } - dir = "../../../examples/empty-demo-without-plugin" + dir = "../../../examples/demo-empty-project" err = CreateScaffold(dir, Empty, true) if err != nil { t.Fatal()