Tag Archives: testing

How to make multipart requests with file and object through autogenerated code defined in OpenAPI

This article explains how to create a Spring Boot endpoint using OpenAPI to receive objects and, optionally, files through multipart form data, focusing on deserialization and validation of incoming objects. Continue reading

Posted in Solutions | Tagged , , , , , , , , , , , , , | Leave a comment

Verify method was called n-times with Mockito

Mockito Verify example for n-times calls using various verification modes. Continue reading

Posted in Testing | Tagged , , , | Leave a comment

How to check if two lists are equal in Java

A short article focused on a widespread problem in testing if two list instances are identical, or rather say if they contain the same elements in the same order. Continue reading

Posted in Testing | Tagged , , , , | Leave a comment

How to load files from Spring JUnit test resources folder

In this short tutorial, you will see how to read the files from the /src/test/resources test directory path in your Spring application. Continue reading

Posted in Tutorials | Tagged , , , , , , , | Leave a comment

How To Start With Codeception PHP Framework And Selenium

This is a small guide explaining how to start with Codeception PHP test framework and how to integrate it with Selenium for automated tests. Continue reading

Posted in Tutorials | Tagged , , , , , , | Leave a comment