Browse by Tags
All Tags »
NUnit (
RSS)
Charlie and the NUnit team have been working hard on NUnit 2.5 and over the last weekend the NUnit 2.5 RTM was released , a huge kudos to Charlie and the team on getting this out. NUnit 2.5 has loads of new goodies , parameterized tests (like MbUnit)...
So in part 1 we created our own constraint and want some of that syntax sugar, the Is helper class uses static (shared) methods to create the constraints so we either hack the NUnit source or try something else. What I ended up doing may not be ideal...
NUnit constraints offer a different style to crafting your unit tests, rather than write. Assert.IsEqual( expected,actual ) you could write Assert.That( expected , Is.EqualTo( actual )) Or in VB as Is is a reserved keyword - Assert.That( expected , [Is...
After writing some NUnit tests with the Assert.That constriant syntax my code file was looking a bit messy so I ran R# 'cleanup' and it threw "JetBrains.Util.LoggerException: Cannot create IReferenceExpresion for 'Is' ". After that right click was kept...
Next month I'll be talking about MbUnit at the AgileNorth 2007 conference , this is a one day event to be held in Manchester, UK and will feature sessions from folks such as ThoughtWorks and Exoftware. MbUnit folks will also be on the road into the new...
Charlie and the NUnit team have been hard at work with the fruits of labour seeing light of day in the RC of NUnit 2.4 . I note with interest that the constraint based asserts have been added in this RC. On the TDD list this syntax was debated in some...
Dan Maharry has created some great VS templates for both MbUnit and NUnit . I hope to get a version of these into the MbUnit distro so any and all feedback on these would be great to hear.
Interesting work from Scott Bellware on adding BDD syntaxt to NUnit .
I was going to comment on Jeremys post on OSS in the Microsoft world but decided to write it up here. While I agree that OSS in the .NET world has a some way to go, it's getting better and better all the time. The very project I lead, MbUnit , is...
Dan Crevier has series of posts on the DM-V-VM pattern , including how to implement it and how ot test it. Porting to MbUnit or NUnit would be a change of referance and using statement and from [ TestClass ] public class StockModelTests [ TestMethod ...
More Posts
Next page »