Cloud Tunedcloudtuned.hashnode.dev·Jun 28, 2024Daily Hack #day86 - JUnit 5 @MethodSourceMethodSource in JUnit 5 @MethodSource is an annotation in JUnit 5 that allows for parameterized tests using a method as a source of arguments. This method is particularly useful for generating complex test data or reusing common data sets across mult...DiscussDaily HacksJava
HAMZA BRAIMIbraimi.hashnode.dev·Jan 19, 2024🛠️ Mastering Unit Testing with Mockito and JUnit5! 🚀When you're creating a Java application, ensuring it works as expected is crucial. This is where JUnit testing comes in. JUnit is a unit testing framework for the Java programming language, playing a crucial role in test-driven development (TDD) to e...Discuss·149 readsMockit
Saniya Gazalasaniyagazala.hashnode.dev·Jan 4, 2024JUnit Tutorial: An Inclusive Guide [With Enhanced Features]JUnit is a widely used open-source framework in Java, mainly for testing projects in a straightforward manner. Combined with Selenium, it becomes a handy choice for testing websites and web applications. Although Selenium and JUnit can work independe...DiscussJUnit testing
Noel KAMPHOAkloudly.hashnode.dev·Nov 24, 2023How to generate Code Coverage Report using Jacoco in a Java application1. Overview In this quick tutorial, we are going to see how to generate a code coverage report for a maven project using JaCoCo. JaCoCo is a free Java code coverage library distributed under the Eclipse Public License. 2. Version check This tutorial ...Discuss·194 readsCore Java TutorialsJava
Sébastien NOIROTiwtyo.today·Jun 26, 2023JUnit5 and Parameterized TestsIntroduction JUnit is an essential framework in the Java world for unit testing. You might already be familiar with writing test cases, assertions, and handling expected exceptions in JUnit. However, there is a powerful feature that you might be miss...Discuss·10 likes·1.4K readsbest practices