Compare commits

..

4 commits

Author SHA1 Message Date
3ff610072c [#7] Ignore transitively skipped tests
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2024-11-27 12:46:07 +03:00
605ebf4fcf [#7] Mark all locking methods as not supported
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2024-11-27 12:46:03 +03:00
8e325c79e5 [#6] Add new 'tests' command
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2024-11-22 12:01:01 +03:00
b08b08d6a0 [#6] Fix test struct tag naming
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2024-11-22 12:00:58 +03:00
2 changed files with 15 additions and 12 deletions

View file

@ -34,6 +34,9 @@ func runTestsCmd(cmd *cobra.Command, _ []string) error {
groupTests := make(map[string][]string) groupTests := make(map[string][]string)
for _, group := range testStruct.Groups { for _, group := range testStruct.Groups {
if group.Skip {
continue
}
groupTests[group.Name] = group.Tests groupTests[group.Name] = group.Tests
} }

View file

@ -503,8 +503,8 @@
"include": [ "include": [
"Locking" "Locking"
], ],
"skip": false, "skip": true,
"comment": "See Locking Feature" "comment": "Not supported. See Locking Feature"
}, },
{ {
"name": "GetObjectLockConfiguration", "name": "GetObjectLockConfiguration",
@ -513,8 +513,8 @@
"include": [ "include": [
"Locking" "Locking"
], ],
"skip": false, "skip": true,
"comment": "See Locking Feature" "comment": "Not supported. See Locking Feature"
}, },
{ {
"name": "GetObjectRetention", "name": "GetObjectRetention",
@ -523,8 +523,8 @@
"include": [ "include": [
"Locking" "Locking"
], ],
"skip": false, "skip": true,
"comment": "See Locking Feature" "comment": "Not supported. See Locking Feature"
}, },
{ {
"name": "GetObjectTagging", "name": "GetObjectTagging",
@ -959,8 +959,8 @@
"include": [ "include": [
"Locking" "Locking"
], ],
"skip": false, "skip": true,
"comment": "See Locking Feature" "comment": "Not supported. See Locking Feature"
}, },
{ {
"name": "PutObjectLockConfiguration", "name": "PutObjectLockConfiguration",
@ -969,8 +969,8 @@
"include": [ "include": [
"Locking" "Locking"
], ],
"skip": false, "skip": true,
"comment": "See Locking Feature" "comment": "Not supported. See Locking Feature"
}, },
{ {
"name": "PutObjectRetention", "name": "PutObjectRetention",
@ -979,8 +979,8 @@
"include": [ "include": [
"Locking" "Locking"
], ],
"skip": false, "skip": true,
"comment": "See Locking Feature" "comment": "Not supported. See Locking Feature"
}, },
{ {
"name": "PutObjectTagging", "name": "PutObjectTagging",