Today's Question:  What does your personal desk look like?        GIVE A SHOUT

 ALL


  Testing like the TSA

When developers first discover the wonders of test-driven development, it’s like gaining entrance to a new and better world with less stress and insecurity. It truly is a wonderful experience well worth celebrating. But internalizing the benefits of testing is only the first step to enlightenment. Knowing what not to test is the harder part of the lesson. While as a beginner you shouldn’t worry much about what not to test on day one, you better start picking it up by day two. Humans are creatures of habit, and if you start forming bad habits of over-testing early on, it will be h...

3,496 0       TESTING QA TSA


  That’s Not TDD

A few months ago I was visiting a client who was having a lot of problems using TDD.“It takes over half an hour to run our unit tests,” he said.“You are not doing TDD,” I said. “In order for tests to be valuable all of them must run fast—within a few seconds, or developers will stop running tests frequently.”“But how to I make them run fast?” he asked, “Just connecting to the database takes 30 seconds”So I showed him a technique called Dependency Injections that allowed him to insert a mock object instead of the database. â€...

2,790 0       METHOD DRIVER TDD QA MODEL UNCONTROL