github.com/googlecloudplatform/kubernetes-workshops@v0.0.0-20180501174420-d8199445b2c3/test/README.md (about) 1 # Workshop Tests 2 3 4 ## To run 5 6 Have a working kubectl connected to a cluster, a working go 7 environment, and run: 8 9 ``` 10 go test 11 ``` 12 13 ## Tagging Workshops 14 15 In each workshop, surround the lines you wish to test with `START 16 bash` and `END bash`. `START`, `END`, and `bash` must have spaces on 17 either side and are case sensitive. All lines between will be run, 18 except those that start with ```. 19 20 Example: 21 22 <!-- START bash --> 23 ``` 24 kubectl get pods 25 ``` 26 <!-- END bash --> 27 28 You could also put commands inside comments, that you don't want to 29 show up in the workshop: 30 31 ``` 32 <!-- START bash 33 echo "do setup" 34 END bash --> 35 ```