A basic CT example
In this section, we are going to investigate how it is possible to automate CT from zero, without any tools (other than Git for source control). For simplification, we will not cover CI, but we challenge you to try it yourself as a learning project. Feel free to review the definitions of CI/CD at the beginning of this chapter again if you struggle to understand what would be different.
In our examples, we will be using vstest to create and execute tests, as this can be easily called from batch/cmd and from other programs. This tool generates output that we can add to a text file for later analysis. Then, we will showcase how to create a YAML file to run the entire process to get you familiar with YAML and how it links all the tools together. Finally, we will use Python to call and execute the YAML file. This way, you can see how different tools with different programming languages can interact.
I hope that the concepts explained in this section help you improve...