-
This post is secod part of my Back to basics: on testing series. Developers writing tests People new to software, or coming from organizations where all testing is done by dedicated people often find the idea of developers doing testing bizarre. After all, we're the highly trained, educated professionals...
-
Over the last few years I've been mostly blogging about various random topics. Most often those were related to Windsor, discussing its new and upcoming features, announcing releases, and taking in-depth look and its underpinning principles. Another bucket was one-off posts discussing various aspects...
-
Many, myself included, have been eagerly awaiting the release of the ReSharper Runner of Machine.Specification (MSpec) for ReSharper 6. I’m glad to announce that this is now available, which is the result of a team-effort between Victor Kropp , Chris Nicola , myself and of course Alexander Gross...
-
When you encounter a bug, do you first write a failing test before fixing it? You should. But the vast majority of us sometimes do not. External pressure (read Customer, Teammates or Management) moves us in the opposite direction. Everything we’ve learnt about unit testing and good software practices...
-
For the last couple of months, I have been working on Android platform as part of Software Engineering course(more on that later, i hope). Even though there are a lot of things I don’t like about android (like XML layouts and the ids of widgets being held in some other class etc but perhaps this is just...
-
The blogosphere has gone a bit crazy the last few days with posts responding to Joel Spolsky’s latest article about "The Duct Tape Programmer" . Bloggers everywhere are tossing their two cents in and saying what parts of Joel's post was good and what wasn't good. Once noticeable trend...
-
Joel , in his inimitable way, posted the flame bait of all flame bait posts yesterday , explaining the role of the Duct Tape Programmer. To my surprise, the Twitterverse started to reverberate with commentary, but weirdly, almost all of it was very negative about the post, many claiming that Joel was...
-
I'm currently looking at a code base that could do with some refactoring, overall it's a pretty good code base, and the test coverage is pretty good too. But looking through it gave me some ideas on what makes a code base tricky to safely refactor. Here are some tips to make sure your code is...
-
Several months ago I published a letter to upper management about improving software processes . In that post I laid out what our team needed to do to be more effective at our jobs. Since that letter nearly five months ago, I have been promoted to management myself and now manage the team. While...
-
Over the last few years my blog has been filled with posts imploring testing and sharing techniques about testing. Most recently I’ve been speaking at code camps on how one can begin unit testing, sensing that a large majority of people out there don’t yet have the level of comfort with testing...
-
Casey posted last year about statistics that lie . In the post Casey gives an overview of Cyclomatic Complexity and some guidelines to aim for when reviewing the cyclomatic complexity of your methods. There's a gem in the comments post by Davy Brion : Yeah, code coverage is such a terrible indicator...
-
If you're serious about testing before long you'll bump into the need to do some mocking. You can of course chose to write your own mocks but that is hardly time effective or trivial. More than likely you'll want to use a framework, but how do you choose between the most popular options...
-
1 Thessalonians 5:21 "Test everything. Hold on to the good." (NIV) "Prove all things; hold fast that which is good." (King James Version)
-
Shhh...don't tell anyone but we don't unit test all of our code. We're striving to get all developers and managers on board with unit testing but we're not there yet. Despite our delinquency in writing tests one thing we do try our very best to do is keep mistakes from happening...
-
I want to invite any of you who are within a few hours of Des Moines, Iowa to attend the second Iowa Code Camp on November 8th. The first Iowa Code Camp back in May was a huge success. From Derik's write-up : Yesterdays event was awesome. They had about 125-150 people show up for the...