Testing
-
Enterprise Java

Java EE 6 Testing Part I – EJB 3.1 Embeddable API
One of the most common requests we hear from Enterprise JavaBeans developers is for improved unit/integration testing support. EJB 3.1…
Read More » -
Enterprise Java

JUnit’s Built-in Hamcrest Core Matcher Support
In the post Improving On assertEquals with JUnit and Hamcrest, I briefly discussed Hamcrest “core” matchers being “baked in” with…
Read More » -
Core Java

NetBeans 7.2 Introduces TestNG
One of the advantages of code generation is the ability to see how a specific language feature or framework is…
Read More » -
Scala

ScaTDD: Casting an eye over three major Test frameworks in Scala
Testing has traditionally been the gateway process for Scala development at a number of Java shops looking to evolve their…
Read More » -
Enterprise Java

Spring Testing Support with TestNG
TestNG is a test framework which is designed to cover all categories of tests: unit, functional, end-to-end, integration, (etc). It…
Read More » -
Agile

The pursuit of protection: How much testing is “enough”?
I’m definitely not a testing expert. I’m a manager who wants to know when the software that we are building…
Read More » -
Core Java

Easy Unit and Integration Code Coverage
This example shows how to generate coverage for unit and integration tests using Maven and Sonar. It uses very simple…
Read More » -
Enterprise Java

Test Driven Development – A Win-Win strategy
Agile practitioners talk about Test Driven Development(TDD), so do lot of developers who care about their code quality and workability.…
Read More » -
Enterprise Java

Mocks And Stubs – Understanding Test Doubles With Mockito
Introduction A common thing I come across is that teams using a mocking framework assume they are mocking. They are…
Read More »








