tests: Rename framework to runner and document the runners

This commit is contained in:
Marek Siarkowicz
2022-02-23 16:41:21 +01:00
parent def122871c
commit 65be41dd6e
9 changed files with 27 additions and 24 deletions

View File

@ -15,7 +15,10 @@
package framework
var (
TestFramework testFramework = noFrameworkSelected{}
RunE2eTests testFramework = e2eFramework{}
RunIntegrationTests testFramework = integrationFramework{}
// UnitTestRunner only runs in `--short` mode, will fail otherwise. Attempts in cluster creation will result in tests being skipped.
UnitTestRunner testRunner = unitRunner{}
// E2eTestRunner runs etcd and etcdctl binaries in a separate process.
E2eTestRunner = e2eRunner{}
// IntegrationTestRunner runs etcdserver.EtcdServer in separate goroutine and uses client libraries to communicate.
IntegrationTestRunner = integrationRunner{}
)