Here is the example.
Run Platform\build\TestProduct\Impl\InTest\RunTests.ps1
- locally and nunit-console will be used
- at TeamCity and TeamCity runner will be used
When your build scripts are relativelly complicated, the ability to run the whole thing locally became very desirable.
- Install VMware vSphere PowerCLI.
- Scripts require vCenter, free ESXi host will not be sufficient for linked clone feature.
- Run .\Platform\build\TestProduct\Impl\IntegrationTests.ps1 -GuestCredentials "guest_login","pass" -FilesToTest "C:","D:" -cloneNamePattern "some_unique_prefix" -VmName "machine_name_in_vcenter+snapshot_name" -ViServerData url,login,pass
This repository is a part of a blog post series about automation testing using JetBrains TeamCity and VmWare VCenter.