|
|
Continuous build status monitor
File Details
| Downloads: |
1997 |
File Size: |
0 bytes |
| Posted By: |
icelava |
Views: |
3034 |
| Date Added: |
Thu, Dec 28 2006 |
|
The result of a practical session: A self-calling batch file, as taught by Dr Neil Roodyn, that repeats in an endless loop the process of
- retrieving the latest source code from a Microsoft VSS repository
- compiling the solution via VS.NET command line (devenv.com)
- running NUnit test assemblies that are part of the build
- colouring the console screen to green or red (success or failure) for everyone to see
Notes for applying for own use
- Know where your own VSS repository is located (SSDIR).
- Know your own version of VSS. The path included in this sample is for VSS 2005.
- Know the VSS path to your solution. This sample shows the solution-named directory in the repository's root.
- Know which version and path of Visual Studio are using - 2003 (Framework 1.1) or 2005 (Framework 2.0).
- Know the working folder where the solution is to be downloaded to.
- Include a call to NUnit console executable for each unit-testing assembly compiled in the solution. This solution built by this sample only contained one unit test project.
- Determine the interval length between each fetch from the repository - you are unlikely to want to do this in an endless frenzy, and the team is unlikely to check in code so quickly, so a lengthier wait should be considered - the sample does 10 counts of ping with 10 second timeouts. Please refer to ping /? for more help.
|
|
|