6b4bdb1882
* Resolve merge conflicts and updates from running a test * move testing/_test.go over to legacy * updates * Add core of plugin test framework Stepwise (#9166) * adding stepwise testing, but there are protocol buff error :/ * move file and update sdk/go.mo * update/sync modules * update from other branch * update sdk/go.mod * some cleanups after feedback * remove enviornments from this PR * update vendor * change from running go mod tidy * change from go mod tidy * Update sdk/testing/stepwise/helpers.go Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com> * Update sdk/testing/stepwise/helpers.go Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com> * change panic to error * Update sdk/testing/stepwise/helpers.go return `nil` and not `err` at the end Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com> * Defer close() on successful Open of a file * document the re-creation of steps * Update sdk/testing/stepwise/stepwise.go Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com> * remove unused BarrierKeys() * Update sdk/testing/stepwise/stepwise.go Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com> * updates from feedback * fix return with bad arguments * Rename things: - StepOperation -> Operation - StepwiseEnvironment -> Environment - StepCheckFunc -> AssertionFunc - step.Check -> step.Assert * document the environment interface methods * rename EnvironmentOptions to MountOptions * rename Name to RegistryName * remove ExpectError because it's redundant * minor doc update * Update sdk/testing/stepwise/stepwise.go Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com> * add checkShouldRun function * remove redundant return * remove vestigial PreCheck function * add tt.Helper() to makeRequest * minor code formatting and document 1-based index for log output of Steps Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com> * minor updates * update sdk * use local reference for api, vault dep * Update sdk/testing/stepwise/stepwise.go Co-authored-by: Calvin Leung Huang <cleung2010@gmail.com> * Update sdk/testing/stepwise/stepwise.go Co-authored-by: Calvin Leung Huang <cleung2010@gmail.com> * cleanup some defer functions * call fatal if environment setup fails, and don't call teardown * defer re-setting client token in makeRequest * Move legacy logicaltest back to testhelpers * update mods and test files with go mod tidy * go mod vendor * remove relative replace directives * restore old logical test location * move declaration to main stepwise file * remove index var and use i+1 * add testing for write, delete paths of makeRequest * update stepwise core testing to do request counting * remove unused methods * Update sdk/testing/stepwise/stepwise.go remove dead line Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com> * Update sdk/testing/stepwise/stepwise.go fix capitalization in code comment Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com> * update code comments for SkipTeardown to clarify its use * update stepwise Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com> Co-authored-by: Calvin Leung Huang <cleung2010@gmail.com> Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com> |
||
---|---|---|
.. | ||
aliyun | ||
apple/foundationdb/bindings/go | ||
armon | ||
asaskevich/govalidator | ||
aws/aws-sdk-go | ||
Azure | ||
beorn7/perks | ||
bgentry/speakeasy | ||
boombuler/barcode | ||
briankassouf/jose | ||
BurntSushi/toml | ||
cenkalti/backoff | ||
centrify/cloud-golang-sdk | ||
cespare/xxhash/v2 | ||
chrismalek/oktasdk-go | ||
circonus-labs | ||
client9/misspell | ||
cloudfoundry-community/go-cfclient | ||
cockroachdb/cockroach-go | ||
containerd/continuity | ||
coreos | ||
DataDog | ||
davecgh/go-spew | ||
denisenkom/go-mssqldb | ||
dgrijalva/jwt-go | ||
dimchansky/utfbom | ||
docker | ||
dsnet/compress | ||
duosecurity/duo_api_golang | ||
elazarl/go-bindata-assetfs | ||
fatih | ||
fullsailor/pkcs7 | ||
gammazero | ||
ghodss/yaml | ||
go-asn1-ber/asn1-ber | ||
go-errors/errors | ||
go-ldap/ldap/v3 | ||
go-ole/go-ole | ||
go-sql-driver/mysql | ||
go-stack/stack | ||
go-test/deep | ||
go-yaml/yaml | ||
gocql/gocql | ||
gogo/protobuf | ||
golang | ||
golang-sql/civil | ||
googleapis/gax-go/v2 | ||
gorhill/cronexpr | ||
gorilla/websocket | ||
hailocab/go-hostpool | ||
hashicorp | ||
influxdata/influxdb | ||
jackc/pgx | ||
jcmturner | ||
Jeffail/gabs | ||
jeffchao/backoff | ||
jefferai | ||
jmespath/go-jmespath | ||
joyent/triton-go | ||
json-iterator/go | ||
jstemmer/go-junit-report | ||
kelseyhightower/envconfig | ||
keybase/go-crypto | ||
konsorten/go-windows-terminal-sequences | ||
kr | ||
lib/pq | ||
Masterminds/semver | ||
mattn | ||
matttproud/golang_protobuf_extensions | ||
mholt/archiver | ||
michaelklishin/rabbit-hole | ||
Microsoft/go-winio | ||
mitchellh | ||
modern-go | ||
mongodb/go-client-mongodb-atlas | ||
mwielbut/pointy | ||
natefinch/atomic | ||
ncw/swift | ||
Nvveen/Gotty | ||
nwaples/rardecode | ||
NYTimes/gziphandler | ||
oklog/run | ||
okta/okta-sdk-golang | ||
opencontainers | ||
oracle/oci-go-sdk | ||
ory/dockertest | ||
patrickmn/go-cache | ||
petermattis/goid | ||
pierrec/lz4 | ||
pkg/errors | ||
pmezard/go-difflib | ||
posener/complete | ||
pquerna | ||
prometheus | ||
ryanuber | ||
samuel/go-zookeeper | ||
SAP/go-hdb | ||
sasha-s/go-deadlock | ||
satori/go.uuid | ||
Sectorbob/mlab-ns2 | ||
shirou | ||
sirupsen/logrus | ||
StackExchange/wmi | ||
stretchr/testify | ||
tv42/httpunix | ||
ulikunitz/xz | ||
xdg | ||
xi2/xz |