A JavaScript Unit Test Trap

Mark Adelsberger JavaScript, Technology Snapshot 3 Comments

You’re a few months into writing a shiny new web app, and the team just settled on some new standards for data structures used for communication with the server. You’ll need to refactor a few pages, but that’s not a big deal. Your team has been pushing good unit testing practices, and you’ve got great coverage for the affected code. …


Short on Time? Switch to Groovy for Unit Testing

Rik Scarborough Testing Leave a Comment

If you are a programming today, you have most likely heard of Unit Testing or of the Test-Driven Development process. I have yet to run into a programmer that has not heard of both, nor one that says Unit Testing isn’t important. In casual discussions, most programmers seem to feel that Unit Tests are very important and that Test-Driven Development …


Checking Sanity in TDD Testing

Rik Scarborough 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 …


Unit Testing in JavaScript

Mark Adelsberger 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 …


Personal Behavior-Driven Development

John Hoestje Dev Methodologies 3 Comments

This year I was fortunate enough to attend the KCDC conference here in lovely Kansas City. One of the sessions I attended was on Behavior-Driven Development. I have attended several BDD sessions before and have enjoyed each one of them, but there was one stated question that set this one apart from the others. After learning of all the benefits of …

Test-Driven Development

Josh McKinzie Dev Methodologies, Technology Snapshot, 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 …

Spring Batch

Spring Batch Unit Testing and Mockito

Jonny Hackett Java, Spring, Spring Batch, Technology Snapshot, Testing 9 Comments

I have a huge fascination with reality TV shows in which something is created.  My favorite of this genre is the Chip Foose-led “Overhaulin” series that aired on TLC for several seasons. The premise of the show is that Chip and his team take someone’s old muscle car and completely restore the car to show-quality status within a week, and …