-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add support to run specific (multiple) tests and envs through command…
… line -t flag and change default time from 2s to 15s
- Loading branch information
Showing
5 changed files
with
70 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,4 @@ tests.dev.yml | |
dev | ||
client_secret.json | ||
binaries | ||
_code/rest/request.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package main | ||
|
||
import "strings" | ||
|
||
type stringSlice []string | ||
|
||
func (s *stringSlice) String() string { | ||
return strings.Join(*s, ", ") | ||
} | ||
|
||
func (s *stringSlice) Set(value string) error { | ||
*s = append(*s, value) | ||
return nil | ||
} | ||
|
||
// type sliceFlag[T any] struct { | ||
// slice []T | ||
// } | ||
// func (s *sliceFlag[T]) String() string { | ||
// return fmt.Sprintf("%v", s.slice) | ||
// } | ||
// func (s *sliceFlag[T]) Set(value string) error { | ||
// s.slice = append(s.slice, *(*T)(unsafe.Pointer(&value))) | ||
// return nil | ||
// } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters