I´ve set up a virtual environment for automatic testing using TFS, Hyper-V and so on.
On my Hper-V machine i so far have 4 VMs running, all different Windows editions. (XP, Vista and 2x Win7)
My plan is to run all of my coded tests on each virtual machine. Somehow all VMs are being used for testing, but the tests get split up and not every test is being executed on every VM.
Eg. i have 736 written tests and 4 VMs running to execute the tests, then each VM only executes 184 tests, like there was some load balancing enabled.
Instead i want all 736 tests being executed on each running VM.
Is there something i missed or am i completely going about it the wrong way?
Thanks for your help.
The “load balancing” behaviour you are seeing is the intended default behaviour. If you want to run all tests against each test agent, you will need to configure the test agents with attributes that allow them to be distinguished from one another, then configure your build to run the tests 4 times, each with a distinct test settings that targets one of the four test agents.