Archive | May 31, 2011

Never version things by date

Suddenly our CI-machine started to fail on code that we had not touched for ages. Test(s) failed. Expected string length 6 but was 4. Strings differ at index 0. Expected: “foobar” But was: “test” The test that broke the build was very straight forward: [Test] public void SettingsShouldSupportCRUD() { ApplicationSetting.Delete("Test.ABC");   var setting = ApplicationSetting.Get("Test.ABC"); [...]

Comments { 0 }