Databases are sometimes the bane of developer’s lives. Aside from all the fun of managing objects, queries, etc., databases are notorious for occasionally (and non-repeatably) hitting your application with an exception. All sorts of things can cause this: Your connection to the database may be momentarily interrupted. Even “high availability” approaches aren’t proof against this […]
Custom Messages in Spring Validation
I always love it when I can use other people’s work. (Legally, of course.) Such is the case with JSR-303 validations, the reference implementation for which is Hibernate Validator. When combined with Spring’s conversion services, this makes for a lot less work in validating input in web applications.
iOS Unit Testing – Part 8 – Tweaking our Sound Logic
In the previous part of this tutorial, we finished up restructuring and unit testing the on-screen animation code for our sample application. We did still have some issues outstanding with the sound, however, which we will clean up in this part. As always, the source code for this tutorial may be found on GitHub. This […]
iOS Unit Testing – Part 7 – Finishing our Animation Testing
Before we were so rudely interrupted at the end of Part 6 of this tutorial, we were most of the way through unit testing our SBAnimationManager class. Most of what remains is to test what happens when one of our animations ends. The source code for this tutorial may be found on GitHub. This part’s […]