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

Leveling Up Automated Tests

February 8, 2017 0

Testing has been part of the software delivery lifecycle since… forever. Now, Agile methodologies make testing part of everyone’s responsibilities. But despite this, despite big steps forward with TDD, BDD, and other approaches which bring automated testing to the forefront of the development process, many developers still behave as if testing is a second class citizen. What can you do to help developers a) write tests b) write meaningful tests and c) write readable tests?

Testing with Mockito

December 20, 2016 0

Mockito is a popular and powerful open source Java mocking framework. In order to achieve good unit tests, you need to make use of mocks and stubs. And that’s exactly what this talk will be about: What is a mock?

Testing Java REST API with Open Source Tools

November 21, 2016 0

Many modern applications are based on a REST API base software architecture and it is important to apply software testing verification to this code. In his article “REST API Test Automation in Java with Open Source Tools”, Vladimir Belorusets provides a good overview on how to test Java REST API with open source tools.

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.

1 2 3 4 5 10