First off, my attempt to do what’s mentioned in the title was trumped by an executive decision, so you won’t get a solution in this article. I will give some pointers though. Long story short, our continuous integration server must run unit tests. We started off with MSTest unit tests so it makes sense to [...]
Now then, we who’ve written a web page of two and are standards compliant or rather, standards crazy, know a thing or two about the separation between presentation and content. Basically, in case you’re one of the others, who don’t know—so what’s it like on the moon, really?—the (X)HTML document retains the information, the data, [...]
So should you really pair up Add* methods with Remove* counterparts? I just had a wild vision about this. We were strolling on the side of a beautiful countryside road, autumn leaves falling around us, birds chirping. I’m sorry, that was something else. It just so happens that I’m working on a certain mapper involving [...]
I came across a Java based blog and noticed a post about XML processing. It appears that the community around that blog is not familiar with the character encoding policies of the XML parsers available in Java. The fact of the matter is that the XML protocol has provisions for specifying the document encoding right [...]
So we’re on: .NET 3.5, NHibernate 2.0, MSTest, Linq, SQL Server 2005. I wasn’t able to find a decent bootstrap-able database for integration testing of our data access layer, so we chose the next best thing—SQL Server must run on localhost when the tests run. The rest is easy. Each test case asks for a fresh database [...]