Archive for 'Uncategorized' Category
Slow tests with nunit 2.4 and nhibernate
5 September 2008I noticed that when I used nunit 2.4 test runner it is really slower than 2.2. The reason is that in 2.4 the nunit test runner will use log4net as default logger, and if you do not disable logging, you will see in log tab an enormous amount of text.
The reason is that nunit used [...]
Mix Linq2XML and XPath, take the best from both
5 September 2008I must admit that LINQ 2 Xml impressed me very much, I’m actually using it to modify docx documents with the OpenXml sdk. While Linq 2 xml is really useful to makes query and find nodes in xml, I found it rather clumsy in my unit test code. Ex.
I’m writing a test that must verify [...]
Favor small and frequent checkin over big ones.
5 September 2008This is a rule that I try to adopt since long time in the past, and few days ago Jeff Atwood enforces this concept in his blog. I completely agree with him, code should be checked in often, especially when you have continuous integration server. Checking in often reduce the risk of conflicts, makes tests [...]
Adobe Acrobat, new is better or worse?
1 September 2008I’m working with OpenXml format of office 2007, so I keep the reference document open because I constantly need to search information into the document. The reference document is a 5200 huge 37 mb pdf, when I open it in Adobe reader 8 the acrobat process uses 60MB of ram, when I start a search [...]
Really strange error in production server, a tale of named pipes
27 August 2008I have a production server with an asp.net application, it run for months without errors. 10 days ago the elmah page begins to shows an error that occurred in a lot of pages.
The application uses a standard ado.net Data access Layer, but a module uses nhibernate, and it turns out that all the errors happened [...]
>