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?
Java Software Testing: unit testing, open source, JUnit, Mockito, TestNG, Spring, JGiven, etc.
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?
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.
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.
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?
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.
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.