The Baeldung logo
  • The Baeldung Logo
  • Start Here
  • Spring Courses ▼▲
    • REST with Spring Boot

      The canonical reference for building a production grade API with Spring

    • Learn Spring Security ▼▲

      THE unique Spring Security education if you’re working with Java today

      • Learn Spring Security Core

        Focus on the Core of Spring Security 6

      • Learn Spring Security OAuth

        Focus on the new OAuth2 stack in Spring Security 6

    • Learn Spring

      From no experience to actually building stuff​

    • Learn Spring Data JPA

      The full guide to persistence with Spring Data JPA

  • Java Courses ▼▲
    • Learn Junit

      Master the most popular Java testing framework.

  • Guides ▼▲
    • Spring Boot

      Get started and go deep into Spring Boot 3

    • Persistence

      The Persistence with Spring guides

    • REST

      The guides on building REST APIs with Spring

    • Security

      The Spring Security guides

  • About ▼▲
    • Full Archive

      The high level overview of all the articles on the site.

    • Baeldung Ebooks

      Discover all of our eBooks

    • About Baeldung

      About Baeldung.

Testing

Testing is a very important aspect to building a stable application. Learn how to use different Java-based testing tools through the guides below.

  • JUnit (75)
  • Mockito (53)
  • JUnit 5 (48)
  • Selenium (27)
  • JMeter (17)
  • Hamcrest (15)
  • AssertJ (14)
  • Mockito Basics (12)
  • Cucumber (12)
  • Spock (10)
  • WireMock (9)
  • Matchers (9)
  • TestNG (8)
  • Gatling (7)
  • Exception (7)
  • JMockit (7)

>> Testing in Java Series

>> Gatling Tests Monitoring

>> Integrating WireMock with Spring Boot

>> Mocking JDBC for Unit Testing

>> Session/Cookie Management in Apache JMeter

>> Stub Getter and Setter in Mockito

>> List Matchers with Generics in Mockito

>> How to Ignore Scenarios in Cucumber

>> How to Run Selenium Regression Tests With GitHub Actions

>> Difference Between isA() and anyObject() in EasyMock

>> Testing LLM Responses Using Spring AI Evaluators

>> How to Execute Load Tests Using the k6 Framework

>> How to Select Date From Datepicker in Selenium

>> Mock JWT with JwtDecoder in JUnit Test

>> How to Check for a Logged Message in a Spock Test

>> Automated Testing for OpenAPI Endpoints Using CATS

>> Mocking a Method in the Same Test Class Using Mockito Spy

>> JSON Unit Test Assertions Using JsonUnit

>> How to Drag and Drop in Selenium

>> How to Share Data Between Steps in Cucumber

  • ↑ Back to Top
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • Next →
  • »
Course – LSSO – NPI EA (tag = OAuth)
LSSO Course Banner
Course – Spring Sale 2025 – NPI EA (cat = Baeldung)
all courses spring sale 2025
Course – Spring Sale 2025 – NPI (All)
all courses spring sale 2025
The Baeldung logo

Courses

  • All Courses
  • Baeldung All Access
  • Baeldung All Team Access
  • The Courses Platform

Series

  • Java “Back to Basics” Tutorial
  • Learn Spring Boot Series
  • Spring Tutorial
  • Get Started with Java
  • Security with Spring
  • REST with Spring Series
  • All About String in Java

About

  • About Baeldung
  • The Full Archive
  • Editors
  • Our Partners
  • Partner with Baeldung
  • eBooks
  • FAQ
  • Baeldung Pro
  • Terms of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo