Tuesday, February 27, 2007

log4net and NUnit

I could not get NUnit to work with log4net today. I had tests (that did not have logging in) that called application code (that did have logging in), but whatever I did the tests did not log anything. I turns out that the test fixture must have a logger in it, for example:
[TestFixture, Category("Exchange")]
public class TestExchangeApplication : ApplicationTest
{
 static readonly ILog log = LogManager.GetLogger(typeof (TestExchangeApplication).Name);
.....

Thursday, February 22, 2007

ClearCase

ClearCase is an "enterprise" level source control system. It sucks for small teams. Sharing your work with team members is a simple 7 stage process:
  1. Check-in your changes to your developer stream
  2. Rebase your developer stream
  3. Deliver your changes to the integration stream
  4. Check-in your integration stream
  5. Create a base-line
  6. Recommend the base-line
  7. Your team members can the rebase there developer streams from your recommended baseline!
ClearCase is very slow at adding files, a project I added had about 10 files, and took over a minute to check-in! The Visual Studio 2005 integration is flaky:
  • It fails with an empty dialog box when opening a project
  • It fails "Can complete the process" when trying to save a checked-out file
  • It fails to check-out a file, even though VS thinks the file is checked-out
We are trying to work with unreserved check-outs, but ClearCase requires developers to explicitly merge simultaneous changes, nice.