NUnit with nightly assembly, how to get errors easily?

We have many unit tests, but they do not run every night. I installed several batch files that compile all the code from the SVN repository, and I would like to run NUnit. This is not a big problem, because I can call it from a batch file after compilation, BUT the output is stored on a network drive, and I need to open it every morning to check if errors have occurred. This is problem.

Do you have a better way to do the same thing that will take code from the repository, run a test and tell me a β€œfaster convenient way” if errors occur?

Update I installed Team City 4.0 and it works like a charm. Perhaps Cruise Control.Net could have done the same, but the Team Team website / documentation / features looked better.

+3
source share
5 answers

We recently started using TeamCity with our projects, and so far it seems great. We use it with Subversion and NUnit, and we also run an external program that makes the final application installation file. Projects and build configurations are very easy to set up.

+3
source

It looks like you need a build server. See Cruise Control .Net

+10
source

How about Team City ? I'm still looking, and I see their product, which seems to be able to do what I'm looking for.

Why does CruseControl.Net get so many votes when I see this Matrix , Team City looks better ...

+1
source

Check out What is the best way to send email from a batch file?

All you have to do is expand this to enter the log file into the tempory email file.

type NUnitLogFile.txt>>tmp.txt 
0
source

We have a nightly test driver based on FIT with a special device for running NUnit in a DLL. The control device captures the output and looks for the final result line, which indicates how many tests passed and failed.

The investigative issue we are faced with is how convenient it is to display the full NUnit output in HTML without errors with large volumes of XSLT ... Any utilities that convert console output to NUnit in HTML?

0
source

All Articles