Uncategorized
Testing with Live Devices
In a lot of the projects I work on the software we write must communicate with other live devices that speak a variety of protocols and testing using mock objects will only get you so far. That is why I like to capture actual data that is coming out of these devices and include it [...]
Setting Multicast Time To Live in Java
I know that this seems trivial, but there are a few gotchas that have burned me a few times so I thought I would post the solution here. The API will lead you to write this MulticastSocket socket = new MulticastSocket(6000); socket.setTimeToLive(16); And you’ll feel pretty good about it, but then you will deploy your [...]
Unit Testing: User Interfaces
One sticking point a lot of people seem to have is how to unit test a user interface. I’ve read many articles by TDD advocates saying that you absolutely need to have unit tests for your GUI components, and then I’ve also read articles from the RAD tool crowd who say that because of the [...]

