minio / kes

Key Managament Server for Object Storage and more
https://min.io/docs/kes/concepts/
GNU Affero General Public License v3.0
460 stars 97 forks source link

Refactored `kestest` integration tests #368

Closed shtripat closed 1 year ago

shtripat commented 1 year ago

This PR adds a cleanup method to make sure each test works in its entirety and there are no left outs. Also all tests use the same common functions for scenarios like create, import, generate, encrypt and decrypt etc.

Different kind of tests can be executed using go test -v -run="<test>" command. e.g. go test -v -run="TestGatewayMem" or go test -v -fs.path=./keys -run="TestGatewayFS"