Browse by Tags
All Tags »
Agile (
RSS)
How do I test a method that returns void? For example a method like this. public void Process(int leadId) { decimal price = _calculator.CalculateNormalLead(leadId); Lead lead = new Lead(leadId, price); _leadRepository.Save(lead); } How to test what the...
In July a new update was provided to the Scrum Guide by Jeff Sutherland and Ken Schwaber . There are a few adjustments that are really nice, for example project grooming was added. One quote from the guide The Scrum framework consists of Scrum Teams and...
For me this was my first SDC and I really had a lot of fun. Great discussions with speakers and attendees. And as Dennis Doomen mentioned , the evening was pretty fun as well. I did two sessions, on about Test Driven Development, a basic introduction...
Thanks to the many votes we received on our wildcard proposals from attendees, colleagues and community members, Pieter Joost van de Sande , Dennis Doomen , Michael van der Veeken and me have won a timeslot on next week’s Microsoft Developer Days. I’ll...
I’ve been on a fair amount of projects in the past 10 to 15 years and almost all of them were waterfall. I’ve become really, really great in being able to tell if a project will fail soon or later. Not sooner or later, but soon or later. My weakness however...
There’s a lot of discussion going on about designing for testability. One of the problems of unit testing your code is that you might want to insert a fake object (like a stub or mock ) so that your code under test won’t actually call out to the database...
Because of the nature of my work, coaching people on-site and training people in classes, I talk to a lot of developers and managers about the way people work. Unfortunately a lot of companies still don’t unit test their software and don’t setup an automated...
I just read a post from Daniel Cazzulino about mocking extension methods. He wants to mock an extension method so that it behaves as he defines in his test, instead of actually calling the real method. To do this, Daniel creates an interface where every...
As I’ve said before, years ago on some project I first got the opportunity to work with FinalBuilder. After years of silence I picked it up again at version 5 and recently switched to the latest version 6. Have you ever had the feeling that some developer...
I’m doing some work with TypeMock and I start to love it more and more. For example, how about removing your database completely from your continuous tests? Sure you can do some database testing during the nightly build, but please keep the tests as fast...
Marco mailed me this morning with the following sentence Unit tests are meant to test functionality, NOT code! That means if you write your unit tests after the fact, you’re probably not focusing on the functionality. This comes from two weblogs that...
I just finished the two day Professional Agile Programming course in which I introduced developers to some best practices and such, including a view over some good practices from methodologies (XP/Scrum/MSF). For this course I've been in contact with...
I blogged about new Unit Testing features in Visual Studio 2008 , but missed the following features back then. I thought it's still cool to share these with you. Short cut keys to run tests I used to use TestDriven.NET in the past for executing my...
A while ago I read the excellent book by Robert C. Martin, called "Agile Software Development : Principles, Patterns and Practices", I think one of the -if not the - books on [wikipedia:Agile Software Development]. But when in the need for a...
Renames a non-private method or property in the class in a manner that does not break code in other assemblies which is dependent upon the old name. Do I need say more? Perhaps a picture that says more than a thousand words... I wanted to rename my WriteDocumentElements...
More Posts
Next page »