feat: extract variables

This commit is contained in:
debugtalk
2021-09-30 13:19:54 +08:00
parent d92b466897
commit 2a793cfc99
6 changed files with 80 additions and 30 deletions

View File

@@ -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)
}