Checking Sanity in TDD Testing

Rik Scarborough Articles, Testing Leave a Comment

Whether you’re in the process of fully adopting Test Driven Development (TDD), providing unit tests after you have written your code, or something in between, the question that you will soon ask is: “What should I be testing?” The simplest answer to me is: any place where you can isolate and test just your code. In my opinion, Test-Driven Development …

The Importance of Unit Testing

Robert Rice Articles, Testing Leave a Comment

I’m currently working on an enhancement to an existing insurance premium rating algorithm. Anyone who has done work in insurance (whether it be in IT or on the business side) is probably well aware of how complex this can become. Consequently, any significant enhancement to such a system is quite likely to be fraught with pitfalls and setbacks, and that’s …

Unit Testing in JavaScript

Mark Adelsberger Articles, HTML5, JavaScript, Testing 2 Comments

JavaScript has come a long way. There was a time it was easily dismissed – maybe suitable for noncritical validations, but not much else. Over the years, the worst of the obstacles to writing large-scale JavaScript programs have fallen away, or at least been mitigated. JavaScript dialects are more consistent among browsers than they once were, and tools like jQuery can …

Test-Driven Development

Josh McKinzie Articles, Development Technologies & Tools, Project Management, Testing 3 Comments

We all will agree that having good tests to exercise and validate a developer’s code is a good thing. Unfortunately, so often, writing unit tests is the last thing developers have time for, if they get the opportunity to write them at all. An example that developers can find themselves in: a development cycle or iteration is drawing near to …