

send the coverage results to the NCover project you specify and.

#Teamcity icon code#
Having a Code Central project set up to simply monitor the NUnit agent, for example, whenever it runs might gather a confusing array of data on unrelated projects. Since it's likely that you have more than one project running unit tests on your build server, you can use NCover Run to profile a specific test run. Step 2: Integrate Your Testing Process With TeamCity Using The NCover Run Command You you are ready to build your NCover Run command. Once you have created your new project and verified your match rules, be sure to save your preferences. Or, you can watch a brief video tutorial on creating a new projet that outlines the steps for creating a new project and setting process match rules. If you want more information, we have step-by-step instructions on covering your build server in our documentation. If you are using Code Central to collect coverage locally, you can also use Auto-Configure if you are not sure what process is loading your unit tests. Once you have created your NCover project, select "Edit Match Rules" and add a new match rule for the appropriate test runner process (more on this later). NET testing tool can be used and the process for setting up your project is similar. On a build server, your project will typically be set to collect coverage on NUnit or MSTest, although any. Whether you are planning to collect coverage locally with Code Central, or remotely with Collector, you need to create your new project within Code Central and give your project a name. Your NCover project is where your code coverage results will be sent and displayed in the NCover GUI. Code Central can collect coverage directly if it is installed locally on the TeamCity build server or it can connect from the TeamCity build server to any machine with Collector installed and collect coverage remotely.įollow these three steps to integrate NCover into your automated TeamCity build process Step 1: Create A New NCover Project One build server many customers like to integrate with is TeamCity. NCover Code Central allows you to monitor any number of build servers and test machines and collect coverage data. Code Coverage With TeamCity 3 steps to configure NCover to work with your TeamCity server
