st-tech / gatling-operator

Automating distributed Gatling load testing using Kubernetes operator
MIT License
70 stars 19 forks source link

add unit test cloudstorage.go #13

Closed niqniqniqq closed 2 years ago

niqniqniqq commented 2 years ago

Add test code for cloudstorage.go.

You can verify that the test runs correctly with the following command. make test

Here are the results of a local run

?       github.com/st-tech/gatling-operator [no test files]
ok      github.com/st-tech/gatling-operator/api/v1alpha1    0.316s  coverage: 1.0% of statements
ok      github.com/st-tech/gatling-operator/controllers 7.854s  coverage: 25.6% of statements