TDD

There are 6 entries for the tag TDD

Bloggers: Win a free place for Roy Osherove’s TDD Masterclass (worth £2395!)

bbits are giving away a free ticket for Roy Osherove’s TDD Masterclass in September in the uk. To enter the raffle all you need to do is use the exact text between these lines in your blog post, including all the links, then email Ian@bbits.co.uk with the url to the blog entry. The draw will be made on September 1st and the winner notified by email and via this blog. Good Luck! -------------- TEXT STARTS HERE Roy Osherove is giving an hands-on TDD Masterclass in the UK, September 21-25. Roy is author of "The Art...

Learning TDD by looking at other peoples tests

Roy Osherove is a leading expert in TDD – he had a brilliant podcast with Scott Hanselman recently and his blog makes for in-depth reading on TDD and Unit Testing.  In particular check out the Test Reviews of publically released Unit Tests – including nerddiner, MVC, and Unity.  This gives a much needed real world critique of tests that people are actually writing – in my experience developers find this sort of thing very informative and helpful.  I would recommend spending some time watching these if you are at all interested in TDD (as more and more developers are…) ...

Free Typemock Licenses

Hands up – by blogging about this quickly, I may get a free typemock license.  All I have to do is post the text below!    *Begin* Unit Testing ASP.NET? ASP.NET unit testing has never been this easy. Typemock is launching a new product for ASP.NET developers – the ASP.NET Bundle - and for the launch will be giving out FREE licenses to bloggers and their readers. The ASP.NET Bundle is the ultimate ASP.NET unit testing solution, and offers both Typemock Isolator, a unit test tool and Ivonna,...

VS2010 – two screenshots to warm the hearts of TDD fans

When you are doing TDD you want more more than the Generate Method Stub functionality in VS2008 – you want to be able to generate stubs for anything! Well VS 2010 comes to the rescue (as it should since it states they are targeting TDD as mainstream for this release) And if you click Generate Other: Nice one! Technorati Tags: VS2010,TDD Cheers Ian

Dymanic Mocking with TypeMock

Technorati Tags: TDD,Mocks If you haven't tried TypeMock yet, then you are missing out on an amazing mocking framework. Unlike other frameworks we have tried, TypeMock does not require you to change the code you are testing in order to create a "mocked" version of the dependency object you want to mock. For example if testing a Business Object and you want to mock some Data Access object, then using a framework like NMock would require you to pass a mocked version of you Data Access object to the Business Object.  This would require some refactoring (extracting...

Even simpler Database Unit Testing with TransactionScope

Technorati Tags: TDD,Database Testing Roy Osherove has a well read article explaining how to use Enterprise Services to do database testing.  This is a pretty nice solution but if you are using .Net 2  then there is an even simpler way:  Using System.Transactions.TransactionScope. Some background: When you unit test code that is making changes to a database you want a way to ensure that the database remains consistent between tests.  One way to do that is to wrap the work in a transaction and then roll it back after the test is done. If you are using...

«March»
SunMonTueWedThuFriSat
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910