mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-22 00:29:37 +08:00
feat: support nested testcase in teststep
This commit is contained in:
@@ -21,6 +21,7 @@ func TestHttpRunner(t *testing.T) {
|
||||
Validate().
|
||||
AssertEqual("status_code", 200, "check status code").
|
||||
AssertEqual("body.\"user-agent\"", "python-requests", "check User-Agent"),
|
||||
RunTestCase("TestCase3").WithVariables(Variables{"var1": "value1"}),
|
||||
},
|
||||
}
|
||||
testcase2 := &TestCase{
|
||||
|
||||
Reference in New Issue
Block a user