mirror of
https://github.com/httprunner/httprunner.git
synced 2026-08-07 22:53:46 +08:00
feat: extract variables
This commit is contained in:
@@ -5,18 +5,18 @@ import (
|
||||
)
|
||||
|
||||
func TestHttpBoomer(t *testing.T) {
|
||||
testcase1 := &TestCase{
|
||||
Config: TConfig{
|
||||
Name: "TestCase1",
|
||||
Weight: 2,
|
||||
},
|
||||
}
|
||||
testcase2 := &TestCase{
|
||||
Config: TConfig{
|
||||
Name: "TestCase2",
|
||||
Weight: 3,
|
||||
},
|
||||
}
|
||||
// testcase1 := &TestCase{
|
||||
// Config: TConfig{
|
||||
// Name: "TestCase1",
|
||||
// Weight: 2,
|
||||
// },
|
||||
// }
|
||||
// testcase2 := &TestCase{
|
||||
// Config: TConfig{
|
||||
// Name: "TestCase2",
|
||||
// Weight: 3,
|
||||
// },
|
||||
// }
|
||||
|
||||
Run(testcase1, testcase2)
|
||||
// Run(testcase1, testcase2)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user