Testing Spring applications

Very good reference conference speech about Spring applications testing strategies and frameworks. Older Spring apps (with web.xml) are covered, as well as the spring 3+, where config is made by annotations and Java Classes. Unit and Integration tests are presented. The speech itself is conducted with quite monotonic voice, however it is fully packed with … Continue reading Testing Spring applications

Why TDD is hard?

Test Driven Development is not about testing - it's about the design. It is worth to remember that the idea of preparing tests first is difficult if You are preapring... tests. It is much easier when You see it as a design requirements. After that, You test if design requirements are met by software. Not only test the … Continue reading Why TDD is hard?

Android jUnit test for asynchronous tasks

Android dialog is example of using asynchronous background tasks in Android. In my case it was downloading data from server and a dialog box with "Please wait..." text. Here is a good AsyncTask example, and below - how it goes in my case: AsyncTask is started in activity OnStart() along with showing dialog box Data … Continue reading Android jUnit test for asynchronous tasks

Best Android TDD tutorials

There is not very much help on android Test Driven Development on the Internet. However I can recommend some tutorials listed below and desribed with details further in text. Most of examples covers the temperature converter which is surely very poor example of Android application... And definitely not the real life case of the killer app... … Continue reading Best Android TDD tutorials