Java Software Testing tutorials: unit testing, open source, JUnit, Mockito, TestNG, Spring, JGiven, etc.

Behavior-Driven Development (BDD) in Java with JGiven

October 21, 2016 0

Although Behavior Driven Development has been existing for over 10 years, the methodology hasn’t yet been very popular in the Java world. One reason for this are the existing BDD tools for Java that are cumbersome for developers to use and require a lot of maintenance.

Testing Microservices

August 30, 2016 0

The microservice architecture has been growing momentum over the past few years in the Java world, but once you have started down the microservice path how do you make sure that your applications are still fully tested?

Replacing Rules in JUnit 5

May 17, 2016 0

Rules have disappeared in the version 5 of the JUnit open source Java testing tools. The release 5 of JUnit is still in alpha status. In this article, Herrmann Rüdiger explores what it would take to transform existing rules to the new concept so that they could run natively on JUnit 5.

Concise UI Tests in Java with Selenide

February 25, 2016 0

Automated testing is a must nowadays. Nevertheless developers often skip writing automated UI tests because it’s tricky and boring. But now we have a simple and powerful tool that makes writing UI tests really effective. You can do this with Selenide.

Behavior-Driven Development for Java with Cucumber

December 23, 2015 1

This tutorial looks at what Cucumber is good for Behavior-Driven development (BDD) with Java — and what it isn’t. It briefly covers what BDD is and how the open source tool Cucumber helps deliver on the promise of improved communication between the business and the development team.

Starting with Mockito

August 10, 2015 0

Mockito is a popular open source mocking framework for Java code. In this article, Marcin Grzejszczak explains how you can use Mockito by adding it to different paths. You will also learn how to implement new tests by using Mockito hints and warnings.

Testable Java EE Development

May 4, 2015 0

This presentation pulls a variety of examples in testable development from the speaker book “Continuous Enterprise Development in Java” published by O’Reilly. It includes a review of the sections on RESTful services, UI verification, transactions and security.

1 2 3 4 5 9