?
Solved

How do we do Continuous Integration for a .NET team

Posted on 2007-10-17
2
Medium Priority
?
388 Views
Last Modified: 2013-11-15
Hi experts,
My .NET team has been asked look at Continuous Integration, similar to Hudson (a parallel to CruiseControl).  I've come across several articles:
http://msdn.microsoft.com/msdnmag/issues/06/03/teamsystem/default.aspx#S2
http://aspnet.4guysfromrolla.com/articles/120104-1.aspx
http://nant.sourceforge.net/
http://en.csharp-online.net/Unit_Testing_with_NUnit

But this is totally new to us.  Any good recommendations on how to do Continuous Integration for a .NET team?

Thanks in advance
0
Comment
Question by:prgMan
  • 2
2 Comments
 
LVL 2

Expert Comment

by:mdb3624
ID: 20103525
With continues integration (CI), your team should be checking in code more often so that you get the full benefits of a continues integration platform.

Also, I would suggest that when moving code to your QA environment that you use the executables that were produced on from the CI system. This is due the the fact that this machine is more likely to have no extra software which also means that you have a better chance of replicating your production environment (on a smaller scale) than if your developers were delivering code executables from their desktop environments.
0
 
LVL 2

Accepted Solution

by:
mdb3624 earned 1500 total points
ID: 20130390
Assuming that you are practicing Test Driven Development (TDD), here are the steps that I would recommend

1) Create NUnit tests for each individual class and pre-pend the work Test on the test class name
2) Create class and methods for the domain
3) Create NAnt script. Then running the NUnit task make sure that you are only running classes that start with Test (see step 1 above)
4) Check in code and run tests on code that has been checked in.

Now, you will know when you are done when all of your NUnit tests pass (see a green status)

Please not that it is suggested that everytime you have a small unit of work completed that you check in the code so that everyone on the team can have access to the changes as well as giving management a way to measure progress in a more timely manner.
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Conducting a customer service survey used to be as straightforward as sending a template email out using checkboxes and numerical rating systems to measure satisfaction.
This tutorial is intended to teach the basics of 3-D Modeling using TinkerCad.com as the Computer Aided Drafting software. Once complete this model can be 3D printed.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question