junblood
12 years agoNew Contributor
Integrate TestExecute with Hyper-V and Jenkins
Integrate TestExecute with Hyper-V and Jenkins
The project I’m working on is a very complicated real-time acquisition system and it is an agile project. So, quick feedback of the test result is very important.
We want to use a clean environment to test the software that means we need to re-image the system every time before testing.
We want to daily run workflow automation. There are 56 workflow automation tests, the shortest one will take 3 hours and the longest will take 12 hours.
Virtual Machine is a good choice for this requirement. We created a clean system as template for deployment. PowerShell script is also needed for auto Stop VM, Remove VM and Deploy VM. There 6 hosts for workflow automation test. We create 7 VMs on each host, so there are 42 test machines in each test execution. But somehow there are always some failures during the VM deployment. So we created another script for re-deploy the failure VMs.
We don’t create workflow script in the traditional way. We create a website to create, edit and delete workflow, and we have another utility to generate the workflow. In this way, people who have the experience of the software can create test cases by themselves, they don’t need to have coding experience.
Automation Hub
We want to make the daily workflow automation totally automatically.
Jenkins can help organize all tasks on the website. Jenkins will trigger VM deployment, test case generation, workflow execution in sequence.
Workflow of daily execution