Skip to content

TomerAdmon/TeamCity-extensions

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

How to wrap TeamCity NUnit Runner with powershell?

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 74.5%
  • C# 14.5%
  • HTML 10.9%
  • Batchfile 0.1%