Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 1.11 KB

README.md

File metadata and controls

21 lines (13 loc) · 1.11 KB

TeamCity-extensions

How to wrap TeamCity NUnit Runner with powershell?

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.

How to make linked clone, power on/off, get IP of powered machine for VmWare vCenter?

  1. Install VMware vSphere PowerCLI.
  2. Scripts require vCenter, free ESXi host will not be sufficient for linked clone feature.
  3. 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.