Google cloud test runner - sela-more/GCTR GitHub Wiki
GCTR is a gradle plugin allows you run tests on multiple hosts from google cloud. the auto scalar of google compute engine is responsible for loading and unloading instances for running the tests. the GCTR plugin has the following requirements:
- getting tests in file system or from Git
- create and remove instances that run tests
- load the system under test on the instance that run the test
- supporting multiple versions of system under test for each test
- providing test results for the test
- support testing in multiple languages with minimal effort
- configure the maximum number of machines that run in parallel
- clean resources in the end of the process
- run the tests from Gradle
- run on any platform
Therefore, the GCTR has the following modules:
- setup create buckets in GCS create managed virtual group Configure load balancer including target pools for each system under test version put startup code copy tests to GCS copy system under test executable to GCS The startup code will include copy system under test to the instance set lab operator the lab operator is responsible for the following copy test from GCS to the localhost run the test copy the test result to GCS bucket
- The next step is iterating all the tests and send them to the appropriate lab operator
- tier down - clean the env copy test results to the test result directory delete GCS buckets delete target pools and load balancer