add feature to disable test case
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -139,6 +139,10 @@ func ReadInput(data []byte, testDefinitions *TestDefinitions) {
|
||||
if val, ok := thisTestCaseMap.Get("description"); ok {
|
||||
thisTestCase.Description = val.(string)
|
||||
}
|
||||
// Disabled
|
||||
if val, ok := thisTestCaseMap.Get("disabled"); ok {
|
||||
thisTestCase.Disabled = val.(bool)
|
||||
}
|
||||
// Body
|
||||
if val, ok := thisTestCaseMap.Get("body"); ok {
|
||||
// Create a normal string map for all the body key-value pairs
|
||||
|
Reference in New Issue
Block a user