test-driven development

Monitoring, and its role in incident response, capacity planning and developing new products

At the base of a solid technology team is monitoring. Monitoring is your eyes – if you don’t monitor you don’t know if your processes are running fine. In fact you don’t know if they are running at all. Plus, you don’t want to find out about the crash from your business client, right? Incident …

Monitoring, and its role in incident response, capacity planning and developing new products Read More »

Using Groovy in Java applications to capture branching logic and business rules validation

Groovy as a dynamic language Groovy can be used to a great benefit to capture branching logic and business rules validation that change frequently. Groovy scripts are interpreted within the JVM, they can provide ability to dynamically modify behavior of a program at runtime. Runtime logic adjustment is an important feature in many business apps. …

Using Groovy in Java applications to capture branching logic and business rules validation Read More »

Mockito Test Cases and Tests where exceptions are expected

To write quality code it’s necesary to test it, as everybody knows and hopefully practices. How do you avoid super complex, fragile Unit tests that span hundreds of lines of code? The answer is you don’t use the real boiler-plate objects, you use test double objects (mock objects). Let’s use Mockito to demonstrate how this …

Mockito Test Cases and Tests where exceptions are expected Read More »