Tags » JUnit

Mock HibernateTemplate with Mockito


Mockito is a useful Java library to create mock Objects for Java Unit Testing.

I used the framework Mockito in order to test objects difficult to test otherwise such as Struts method, Servlet, Hibernate , etc… 338 more words

Non Classé

Spring Boot and Gradle: Separating tests

In this post I will present 4 different approaches to separating unit tests from integration tests, so that they can be run independently of each other. 1,240 more words


JUnit - Heads up


  • JUnit is a unit testing framework for the Java programming language
  • JUnit has been important in the development of test-driven development (TDD), and is one of a family of unit testing frameworks(xUnits)
  • 435 more words
Information Technology

Coaches expect an improved game from Halapoulivaati Vaitai

Lane Johnson’s suspension has put the Philadelphia Eagles offensive line in a very difficult position. Rookie right tackle Halapoulivaati Vaitai struggled at in Johnson’s absence against Washington. 343 more words

Philadelphia Eagles

Testabilty of Enum Switch Statements

Let’s start with an easy one. Or so you might think.

The Easy One

How to perform conditional actions based on an enum value in Java with 100% unit test branch coverage? 753 more words

Branch Coverage

The Eagles offensive line was a mess without Lane Johnson

Right tackle Lane Johnson’s 10-game PED suspension really hurt the Philadelphia Eagles in their 27-20 loss to the Washington Redskins.

Without Johnson, coach Doug Pederson decided to start rookie Halapoulivaati Vaitai at right tackle. 357 more words

Philadelphia Eagles

Carson Wentz struggles vs Redskins, NFL rookies have a chance to win Pepsi Rookie of wk

Tough times have fallen on Carson Wentz and the Philadelphia Eagles after starting the season with a three-game winning streak. Wentz has been able to stay clean for the most part during the first quarter of the season. 420 more words

Philadelphia Eagles