I’m currently using context/specification style tests. While I think frameworks like J.P.Boodhoo’s are beautiful, I prefer something that works with ReSharper, TD.NET and CI without extra hurdles. I also want something my team, with limited exposure to *Unit frameworks, can easily pick up. I’d prefer not to have the ceremony and misleading terminology of “Test” attributes, but its a trade-off I’m willing to make to more easily to integrate with team members and third party tools. I put my testing ......
Here’re the code and slides from my talks on NHibernate and jQuery. And some links mentioned during my talks: NHibernate: NHibernate Documentation NHibernate Mailing List NHibernate in Action NHForge NHibernate Dimecasts Summer of NHibernate NHProf ActiveWriter (for codgenning mappings) jQuery: jQuery UI Next version of my jQuery slideshow RubyMine jQuery Plugin Repository ......
I was playing around with converting some HQL and Criteria queries to LINQ, and the result is pretty slick:All I had to do was reference NHibernate.Linq and I went from: public IList<Stay> GetCurrentStays() { string hql = @"FROM Stay WHERE CheckinDate <= :now AND (CheckoutDate IS NULL OR CheckoutDate >= :now)"; var query = getQuery(hql); query.SetDateTime("now", DateTime.Now); return query.List<Stay>(); } to: public IList<Stay> GetCurrentStays() { var query = from stay in ......
This Saturday I’ll be speaking at Chicago Code Camp which to my initial dismay is not actually in Chicago but an hour or so north. This is probably best since I’ll feel less nerdy for talking about technology all weekend instead of checking out the city. I’ll be giving two presentation: jQuery Magic Get Rolling with NHibernate If you haven’t signed up yet, there’s still time ......
At Lansing GiveCamp I was chosen to lead a team tasked with creating a guest registration system for Ronald McDonald House of Mid-Michigan. Ronald McDonald House wanted to get off their current system, paper, to streamline their processes and report on their data. The event started around 7:00PM on Friday and ended with 3:00PM on Sunday. That’s 44 hours. At first it seemed too simple and I wondered if Microsoft Access wouldn’t have been sufficient for their needs. That is until Jay Harris met with ......