PartCover and TeamCity
 

I am using TeamCity to build via a solution file. I am attempting to get "PartCover" to work it. It is easy enough to point it to the partcover.exe, I am just unsure how to get team city to produce a proper report from the results of our nUnit test. I have added the a coverage.zip file to our setup and it is displaying the correct info under the artefacts tab, however under the code coverage tab the only info displayed is "Coverage by assembly" and nothing else. Any help or ideas would be great.

http://www.stackoverflow.com/questions/2184779/

        

There are 2 answer(s) to this question.


It seems like TeamCity just improved their support for code coverage, check the following blog post to see if it helps:

http://blogs.jetbrains.com/teamcity/2010/02/19/net-code-coverage-in-two-clicks/


Check out this question:

http://stackoverflow.com/questions/1895304/how-do-i-include-full-partcover-results-with-teamcity-5

I managed to get code coverage working with PartCover with those answers.

Related Questions

TeamCity and PHP
TeamCity and PHP We are considering TeamCity for continuous integration but have projects in both Rails (Rake tests) and PHP (PHPUnit tests). I'm a bit new to CI - Has anyone setup TeamCity for PHP projects? If so, is it straight-forward? Thanks, Chad update: it wasn't hard. built ant scripts
TeamCity + git-teamcity plugin: ParseException
TeamCity + git-teamcity plugin: ParseException Alright, I've trying to set up a TeamCity server the past few hours, but this as really gotten me stuck. I've got everything working, agents are running, plugin is installed, but when I run the build process it instantly crashes with the following log error: Error collecting changes for VCS root 'git@github.com:chrisjowen/nLess.git:master' #1 java.lang.RuntimeException: java.text.ParseException: Unparseable date: "Mon Nov 16 15:01:08 2009 +0100" We already have a TeamCity setup on a remote server, but I didn't set it up myself. I just want to be able to do the same thing personally, because I'd like to see if we can benefit from this at work. I use the exact same TeamCity configuration as the remote one, and I updated git to the latest version. The date you see is the date of the last commit on the master branch on the github
TeamCity and JIRA ?
TeamCity and JIRA ? Is it possible for TeamCity to integrate to JIRA like how Bamboo integrates to JIRA? I couldnt find any documentation on JetBrains website that talks about issue-tracker integration. FYI: I heard that TeamCity is coming out with their own tracker called Charisma. Is that true? TeamCity does not have extensive integration with JIRA as Bamboo does, and I am not aware of a plugin that provides it. TeamCity does however, offer a generic integration option to external sites which can be used for basic JIRA integration. From their documentation: TeamCity allows to map... set this up yet on our local TeamCity, so I can't testify as to how well it works. Yes, they are comming out with their own issue tracker. Read more in this blogpost: first eap for jetbrains issue tracker Charisma you can try it here Charisma and here you can see video for some of the features
TeamCity with Github
TeamCity with Github I downloaded TeamCity 5 and I can see the option for Git under "Edit VCS Root". I have supplied the Clone Url, Branch Authentication Method: Default Private Key But when I test the connection I get the following error: The connection test failed: com.jcraft.jsch.JSchException: UnknownHostKey: github.com. RSA key fingerprint i Any ideas? Below that there is a line that says: Known Hosts Database: Check the box next to that that says: Do not check
PartCover and TeamCity
PartCover and TeamCity I am using TeamCity to build via a solution file. I am attempting to get "PartCover" to work it. It is easy enough to point it to the partcover.exe, I am just unsure how to get team city to produce a proper report from the results of our nUnit test. I have added the a coverage.zip file to our setup and it is displaying the correct info under the artefacts tab, however under the code coverage tab the only info displayed is "Coverage by assembly" and nothing else. Any help or ideas would be great. It seems like TeamCity just improved their support for code coverage, check the following blog post to see if it helps: http://blogs.jetbrains.com/teamcity/2010/02/19/net-code-coverage-in-two-clicks/ Check out this question: http://stackoverflow.com/questions/1895304/how-do-i-include-full-partcover-results-with-teamcity-5 I managed to get code coverage working
Teamcity and Grails
Teamcity and Grails Hi there, My current requirement is: I have to package my grails app and use teamcity for continuous build. The only problem is the build agents don't have groovy and grails installed (don't ask why) I want to package my app with Groovy and Grails directories and check in Git. So that there is no dependency on installing groovy and grails on the build agents. And the package has everything to run the app. Can anybody please help. Please let me know if you want me to rephrase my question. well this is what I did: I checked in both groovy and grails inside GIT. then I added environment variables inside TeamCity relative to the checkout directory and then added the following parameters: You can write war in the command-paramters to generate a war This worked for me... cheers
TeamCity Alternatives
TeamCity Alternatives I write a lot of little projects, and I'd like to use something like TeamCity for my build server(s). My problem with just using TeamCity itself is that the Professional version of only seems to allow for, at most, 20 projects. And since these projects are generally... an alternative that would also work? Update: Hudson looks pretty great. I just installed it on an Ubuntu box, is there a nice way for it to build my Windows projects? TeamCity does that whole build-agent thing, is there something similar with Hudson? Thanks Again! Team City has an Open Source... to Hudson. We use CruiseControl.NET. It's a bit hard to configure comparing to TeamCity (you'll need to edit XML config, which is error-prone), but has a lot of features. It can work with SVN (and many other VCSs), detect changes and start build automatically, you can set it up to run tests, display
TeamCity Environment Variables
TeamCity Environment Variables How do you access TeamCity environment variables through the post-build event window in visual studio? What type of evaluation can be done to make sure the build is happening on the build server and not locally where the environment variables do not exist? Thanks TeamCity variables are available as any environment variable is in MSBuild, as a property which can be accessed with the $() syntax. This list defines the default TeamCity variables that are available to your build process. So teamcity.version is available as the environment variable TEAMCITY_VERSION and available to MSBuild as $(TEAMCITY_VERSION). (Environment variables are not case sensitive). So to answer your question, a quick test to see if a build is running on the build server: <Target Condition=" '$(TEAMCITY_VERSION)' != '' " > <Message Text="Running on build server
TeamCity Twitter Notifier?
TeamCity Twitter Notifier? Has anyone built something to send out your TeamCity build status with Twitter? Can this be done with TeamCity's Jabber support? I was just looking for the same thing. I haven't succeeded in finding any Jabber-to-Twitter gateways yet. A native Twitter Notifier would be really neat though :-) I saw this post and thought I'd write you a plugin. here's the blog post on how to do it and here's the google code project teamcity-twitter-notifier
TeamCity & MSBuild integration
TeamCity & MSBuild integration Is there any way to get TeamCity's build numbering to match the publish version (ApplicationRevision) number generated by MSBuild's publish task? You can control the build number in TeamCity via a specially formatted message in the build log. This can be output at any stage (e.g. during publish) and will cause the initially assigned build number to change. See here for more info. For example, our msbuild has this to output the version as the build number: <Message Text="##teamcity[buildNumber '$(FullVersion)']"/>
MStests through TeamCity
MStests through TeamCity How do you run MStests through TeamCity and the MSBUILD option? Do you put these settings in the main solution? Thanks It is possible to configure sln2008 runner to start mstest for you. Another way is to write custom msbuild script that first calls and than call mstest.exe process. To report generated .trx file please use TeamCity Service Message: ##teamcity[importData type='mstest' path
Teamcity - Force teamcity to build on a specific agent
Teamcity - Force teamcity to build on a specific agent Is it possible, without disabling all other connected agents, to force TeamCity to build on a specific agents machine? For one time run you can click on the 3 dots next to "Run" and define on what agent you want to run. For a long term configuration you should use the Agent Requirements of the build. You can add a system property to the agent by editing the file ...\buildAgent\conf\buildAgent.properties system.special.property=true Then you can define on the Agent Requirements to check the property system.special.property exists. EDIT With the new version of Teamcity (5.0.*) you can now edit the Agent and select the configuration you want to run there. Agents, select an agent, Compatible Configurations, choose "Run selected configurations only
Integrate TeamCity Reports to Confluence
Integrate TeamCity Reports to Confluence Is there a way (plugin) to integrate build-reports from teamcity to confluence I'm not sure that this is what you're looking for but Etienne Studer has bloged about Confluence TeamCity Integration (it's pretty old but it's hard to be accurate without any informations on the versions you're using): TeamCity provides a widget that displays the status of a given build configuration in an arbitrary web page. With a little help by Kir from JetBrains, I was able to integrate the External Status Widget into Confluence. First, add the following section at the beginning of TeamCity/webapps/ROOT/status/externalStatus.jsp: <style type="text/css"> @import "${pageContext.request.requestURL}/../../css/status/externalStatus.css"; </style> Then, integrate the External Status Widget for the build configurations
HowTo: Teamcity + GitHub
HowTo: Teamcity + GitHub Has anybody successfully configured Teamcity to monitor, extract, and build from GitHub? I can seem to figure how where and how to configure the SSH keys for Teamcity. I have Teamcity running as a system service, under a system account. So where does Teamcity stash its SSH configuration? EDIT To get this to work, I needed to stop the agent from running under a system account. You may need a third party plugin like this Ok... I got this to start working on my Windows server. Here are the steps I took to configure TeamCity 4.5 Professional: Downloaded..." -- this is IMPORTANT The TeamCity BuildAgent should be running as a standard user, with the SSH installation configured properly for that user. Follow the GitHub SSH directions for SSH configuration Leave the username blank. This should already be provided for in your GitHub clone URL
Continuous Integration with Teamcity and Clearcase
Continuous Integration with Teamcity and Clearcase Has anybody successfully integrated Clearcase with Teamcity (which advertises Clearcase support) to realize a productive continuous integration build environment on a decent size project? Yes we have, but with a custom ClearCase plugin for TeamCity, in order to:: use a dynamic view set with a "time" directive, and to avoid hundreds of "descr -l" for each changed files (which would be Sparta, err, no, madness, would be madness since it would represents hundreds of transaction to the ClearCase server) Check out the TCCC plugin on GitHub. IS this still in a working condition, what versions of TCC is it compatible

Related teamcity Video tutorials from Youtube.


LFS City Drift Promo 1
Promo for my up & coming feature, LFS City Drift!
LFS City Drift Promo 1
Promo for my up & coming feature, LFS City Drift!

Software Success Disciplines.0
softwareconfidence.com - Its easy to make mistakes when you're checking in software to a source code
Software Success Disciplines.03 - Continuous Integration 4/4
softwareconfidence.com - Its easy to make mistakes when you're checking in software to a source code control system. You can forget to include necessary files, you can break tests, you can introduce compilation errors. This is bad enough when you are working alone, but can be very annoying in a team context, as several people may have to down tools to locate a problem that may have been introduced days before it was found. Continuous integration addresses this issue, but setting up an automated team member, a machine, whose sole purpose is to continuously check out the code, compile it, test it, and make sure its of the required quality. This Software Confidence screencast explains all you need to know to get continuous integration understood and implanted as a practice with your team. The screencast covers the following topics * where continuous integration fits in the software development process * what problems it helps to solve or avoid * what is a build server * downloading and installing TeamCity * build breakage notification strategies, especially large build monitors * downloading and installing the Piazza TeamCity plugin * and as a side issue, removing duplication in an ant file.

Post you comment here

Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

There are 0 comment(s) to this page.



The questions and answers taken from stackoverflow.com's public data dump which is licensed under the cc-wiki license.
Logo, website design and layout ©2011 CodingTiger.com