junit

  • submit to reddit

Fault Injection with Byteman and JUnit: Do Even More to Ensure Robustness of Your Applications

The time when our applications lived in isolation have passed long-long ago. Nowadays applications are a very complicated beasts talking to each other...

0 replies - 2138 views - 04/25/13 by Andriy Redko in Articles

Writing Custom Suppliers for Your JUnit @Theory

Introduction JUnit's "Theories"  runner is an (mostly) undocumented experimental runner that allows you to run your @Test method (your @Theory)...

0 replies - 458 views - 04/16/13 by Fabien Taysse in Articles

Testing Spring Data Neo4j Applications with NoSQLUnit

  Spring Data Neo4j Spring Data Neo4j is the project within Spring Data project which provides an extension to the Spring programming...

0 replies - 1607 views - 03/20/13 by Alex Soto in Articles

Unit Testing Best Practices: JUnit Reference Guide

Before writing this post, I am assuming that you know the basics of JUnit. If you do not have the basic knowledge, first read this link. Further, in this post,...

1 replies - 4292 views - 03/12/13 by Lokesh Gupta in Articles

How I Learned to Stop Worrying and Love TestNG

Think back to your early 20′s. Remember going out on Halloween or New Year’s Eve? No sooner do you walk into a bar than someone in your group starts...

4 replies - 2368 views - 03/02/13 by Sarah Goff-dupont in Articles

JUnit testing with Spring Integration and Spring WS

Spring Integration, Spring WS for Webservice is a decent framework to design and implement a Webservice. It also has good JUnit testing support. In this...

0 replies - 1970 views - 02/15/13 by Krishna Prasad in Articles

Camel: Working with Email Attachments

If you're using the Camel-Mail component to handle some business logic that involves receiving email that contains attachments, then you might be...

0 replies - 2159 views - 02/11/13 by Jason Sherman in Articles

A JUnit Tutorial for Beginners

JUnit is an open source framework designed by Kent Beck, Erich Gamma for the purpose of writing and running test cases for java programs. In the case of web...

0 replies - 7635 views - 01/01/13 by Umashankar Ankuri in Articles

JUnit Testing REST Services and Spring MVC

For people in a hurry get the latest code in Github and run “mvn test” Introduction There is a good comparison of Webservices and REST here. REST...

0 replies - 2769 views - 12/24/12 by Krishna Prasad in Articles

Using Spring FakeFtpServer to JUnit test a Spring Integration Flow

For people in hurry, get the latest code and the steps in GitHub. To run the junit test, run “mvn test” and understand the test flow. Introduction:...

0 replies - 2117 views - 12/13/12 by Krishna Prasad in Articles

Using JUnit Theories with Spring and Mockito

What is a Theory? Functionally, a theory is an alternative to JUnit's parameterized tests. Semantically, a theory encapsulates the tester's understanding of...

1 replies - 1770 views - 12/11/12 by Lucas Godoy in Articles

JUnit Integration Testing for vert.x - Released

The first release of vertx-junit-annotations, an aid to performing integration tests for your verticles and modules, is now available: ...

0 replies - 829 views - 12/01/12 by Pid   in Announcements

Consider assertThat() in place of assertEquals()

  JUnit 4.4 added a new assertion mechanism with the method assertThat(). Have a look and consider using it in place of...

5 replies - 3679 views - 10/09/12 by Mike Christianson in Articles

Testing the Client Side of RESTful Services (Without Using Mocks)

People tell me A and B, They tell me how I have to see, Things that I have seen already clear, So they push me then from side to side (I Want Out -...

0 replies - 3797 views - 09/28/12 by Alex Soto in Articles

Allowing JUnit Tests to Pass Test Case on Failures

Why create a mechanism to expect a test failure? There comes a time when one would want and expect a JUnit @Test case fail. Though this is pretty rare, it...

0 replies - 3193 views - 09/16/12 by Mike Ensor in Articles