home recent topics recent posts search faq  

Pretty Objects Visual T# Forum

Addicted toThe Most Intelligent Add-In To Visual Studio Addicted toAddicted to


register | lost password   open id sign in with Twitter
Messages in this topic - RSS

Home » T# Samples » TeamCity T# extension is now available!

Samples that describe effective use of T#
13/11/2009 5:24:13 PM

Ludovic Dubois
Ludovic Dubois
Administrator
Posts: 155
You should refresh your SVN directories for extensions to see a new T# Extension: TeamCity!


We just make our nightly builds available for everybody.
We use TeamCity to do that builds. Thus, we had to be able to compile T# Projects (the T# Extensions) and run T# tests.
This code has been developed as a T# extension that you can download and use for your own purposes.


Warning: T# extension for TeamCity is not installed with T# Setup (contrary to T# extension for NUnit Framework).
We will post here more information next week! smile
0 permalink
20/11/2009 10:38:59 AM

Ludovic Dubois
Ludovic Dubois
Administrator
Posts: 155
TeamCity is a very good (and free smile) Distributed Build Management and Continuous Integration Server from JetBrains: http://www.jetbrains.com/teamcity/index.html


You first have to compile the extension project.


Then, on your server:
  • Install Visual T#
  • Copy TSharp.Extensions.BuildServer.TeamCity.dll to %PROGRAMFILES%\MSBuild\Pretty Objects\TSharp\1.0 (warning: in 64 bits environment, MSBulid directory is in the 32 bit one (x86)!)
  • Copy TSharpBuilder-TeamCity.proj somewhere


To configure a TeamCity project to use Visual T#, you have to:
  • Choose MSBuild Runner
  • Set 'Build file path' to YourAbsolutePath\TSharpBuilder-TeamCity.proj
  • Set 'Command line parameters' to /property:SolutionName=YourRelativePathToCheckoutDirectory\YourSolution.sln
The specified solution will be compiled, then tests from every *.Test.dll will be run.


If you want to run tests from dlls not terminating with .Test.dll, specify them in the property TestAssemblies (in 'Command line parameters' too): /property:TestAssemblies=MyTestDll1.dll;MyTestDll2.dll


Et voila!
<em>edited by Ludovic Dubois on 11/20/2009</em>
0 permalink
10/01/2010 2:38:48 AM

shetu
shetu
Posts: 1
Can you explain where to find the extension project? I would like to compile it !!
0 permalink
10/01/2010 10:02:01 AM

Ludovic Dubois
Ludovic Dubois
Administrator
Posts: 155
Sure!


All our extensions are available at: https://www.prettyobjects.com:7567/svn/public/TSharp/TSharpExtensions/


Particularly, Build Servers extensions are available at: https://www.prettyobjects.com:7567/svn/public/TSharp/TSharpExtensions/BuildServers/


You can browse the project directly from your browser to look at the code, but you should use a SVN client to directly access our source server.
We suggest you to use a tool  like Tortoise SVN (http://tortoisesvn.net/downloads) a free SVN client.


This way, you only have to update your root directory (directly from within your Windows Explorer) to be up-to-date! smile
0 permalink

Home » T# Samples » TeamCity T# extension is now available!





Powered by Jitbit Forum 7.2.7.0 © 2006-2011 Jitbit Software