Tags » JUnit

JUNIT using Mockito

Here an example unit test code snippet.
Please include the following libraries as provided. if there is some problem with junit-4-11.jar, hamcrest-core.1.3.jar may be needed. 60 more words


TIP: Make Sling Testing Framework work

We have been trying to find the right mix of unit testing (Automated) in our project, and I have been looking at various options that Sling has to offer. 975 more words


Book review: Sujoy Acharya - Mastering unit testing using Mockito and JUnit

Some weeks ago, I was contacted by Packt Publishing to write a review about the book above. Without any further introduction, let’s just jump in and see the pros and cons of this book. 795 more words


CDI and ApplicationComposer: finally easy to test deltaspike with AppComposer

OpenEJB/TomEE ApplicationComposer design is to describe a test application with an in memory model close to the xml EE one (Beans for beans.xml, EjbJar for ejb-jar.xml…). 140 more words


(Unit Testing) - Cost vs. Benefit

I have been a big fan of unit testing for a very long time; my blog is ridden with posts about it. If I look at at how automated unit testing has progressed in my projects over the last decade I am noticing that the… 2,090 more words


Unit Testing - Why not?

For JUnit implementation in our project, we see a great challenge in having them implemented as we are already running behind for Sprint 2 and Sprint 3.

1,096 more words