• The Baeldung Logo
  • 从这里开始
  • 指南 ▼▲
    • Persistence

      Spring持久化指南

    • REST

      使用Spring构建REST API指南

    • Security

      Spring Security指南

  • 关于
  •  English

分类: Testing

>>  Spring 集成测试优化建议

>>  Reducing Duplication With Spock’s Helper Methods | Baeldung

>>  如何使用TDD方法在Java中实现列表(List)

>>  Integration Testing With the Maven Cargo Plugin Baeldung

>>  Maven Surefire和Failsafe插件之间的区别

>>  Maven集成测试

>>  断言 Java Optional具有特定值

>>  Cassandra单元测试教程

>>  使用Spring Data Cassandra与Test Containers

>>  使用JUnit 5根据激活配置运行测试

>>  Powermockito介绍

>>  使用SpringJUnit4ClassRunner与参数化测试

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

>>  Spring Boot测试

>>  How to Pass a Variable From One Thread Group to Another in JMeter | Baeldung

>>  在Java中使用Selenium WebDriver与Cookies协作

>>  How to Select Value From Dropdown Using Selenium Webdriver | Baeldung

>>  Mockito的断言匹配器(Argument Matchers)

>>  使用Vavr进行属性测试的例子

>>  Spring Boot @ConfigurationProperties测试

>>  Spring Test覆盖配置

>>  JUnit中的java.lang.NoClassDefFoundError问题

>>  Checking if an Element Exists With Selenium Webdriver | Baeldung

>>  MockServer简介

>>  How to Mock Multiple Responses for the Same Request | Baeldung

>>  使用Gatling做网站压力测试

>>  Gatling vs JMeter vs Grinder对比

>>  使用Postman进行负载测试

>>  使用Gatling进行REST端点负载测试

>>  How to Execute Load Tests Using the k6 Framework | Baeldung

>>  Spring REST Docs简介

>>  Spring MockMvc 的 REST-assured 支持

>>  REST Assured身份验证

>>  Spring Boot测试中的嵌入式Redis服务器

>>  使用Karate测试REST API

>>  Testing Spring OAuth2 Access-Control | Baeldung

>>  使用AssertJ在Java中提取值

>>  使用AssertJ自定义断言

>>  使用AssertJ断言处理条件

>>  Guava AssertJ 的使用

>>  AssertJ的Java 8特性

>>  修复JUnit中的NoSuchMethodError错误

>>  使用Gradle与Cucumber

>>  JSON模型断言库指南

>>  How to Implement Retry for JUnit Tests | Baeldung

>>  Loading Test Data from Files in JUnit Tests with Java Test Gadgets Test Data Factory | Baeldung

>>  Integrating WireMock with Spring Boot | Baeldung

>>  Gatling介绍

>>  How to Drag and Drop in Selenium | Baeldung

>>  Spring Tests中的WebAppConfiguration

>>  Unit Test for hashCode() in Java | Baeldung

>>  Testing in Java Series | Baeldung

>>  使用REST-assured获取和验证响应数据

>>  使用RestAssured发送MultipartFile请求

>>  使用REST-assured进行JSON Schema验证

>>  使用REST-assured处理头部、Cookie和参数

>>  Groovy与REST-assured:集成式编程的优雅解决方案

>>  Jacoco报告的排除项

>>  标注与过滤JUnit测试

>>  使用Postman Collections测试Web APIs

>>  List Matchers with Generics in Mockito | Baeldung

>>  Gatling Tests Monitoring | Baeldung

>>  How to Tear Down or Empty HSQLDB Database After Test | Baeldung

>>  Cucumber 北京

>>  Session/Cookie Management in Apache JMeter | Baeldung

>>  How to Select Date From Datepicker in Selenium | Baeldung

>>  Automated Testing for OpenAPI Endpoints Using CATS | Baeldung

>>  Testing LLM Responses Using Spring AI Evaluators | Baeldung

>>  Testing the Main Class of a Spring Boot Application | Baeldung

>>  ZeroCode介绍

>>  如何使用Gatling显示完整的HTTP响应体

>>  How to Ignore Scenarios in Cucumber | Baeldung

>>  解决Mockito异常: Wanted But Not Invoked

>>  Mock JWT with JwtDecoder in JUnit Test | Baeldung

>>  Spy"和"SpyBean"之间的区别:Spring AOP中的行为代理

>>  Cucumber Spring集成

>>  为测试配置独立的Spring数据源

>>  使用嵌入式内存数据库进行测试

>>  JUnit4与JUnit5异常断言

>>  使用StepVerifier和TestPublisher测试反应式流

>>  JUnit 5的并行测试执行

>>  Setting up and Using Spock With Gradle | Baeldung

>>  How to Handle Alerts and Popups in Selenium | Baeldung

>>  Mocking JDBC for Unit Testing | Baeldung

>>  JSpec指南

>>  使用Google Truth进行测试

>>  使用JGoTesting进行测试

>>  Stub Getter and Setter in Mockito | Baeldung

>>  JUnit 5参数化测试介绍

>>  Check if a List Contains Elements With Certain Properties in Hamcrest | Baeldung

>>  Passing List as Cucumber Parameter | Baeldung

>>  如何测试@Scheduled注解

>>  How to Run Selenium Regression Tests With GitHub Actions | Baeldung

>>  从命令行运行JUnit测试用例

>>  断言异常(AssertJ Exception Assertions)

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

>>  JUnit 5 集成的嵌套测试类(Nested Test Classes)

>>  功能测试与非功能测试

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

>>  Injecting a Mock as a Spring Bean in a Spock Spring Test | Baeldung

>>  Capturing Method Arguments When Running Spock Tests | Baeldung

>>  Configuring @MockBean Components Before Application Start | Baeldung

>>  Overriding Spring Beans in Integration Tests | Baeldung

>>  用Java测试REST API

>>  Mocking an Enum Using Mockito | Baeldung

>>  TestRestTemplate介绍

>>  JUnit 测试的顺序

>>  REST-assured指南

>>  在Spring Boot中进行测试时设置日志级别

>>  WireMock简介

>>  JSON Unit Test Assertions Using JsonUnit | Baeldung

>>  How to Share Data Between Steps in Cucumber | Baeldung

>>  使用JUnit断言日志消息

>>  Difference Between BeforeTest and BeforeMethod in TestNG | Baeldung

>>  Mockito.mock() vs @Mock vs @MockBean

>>  A Guide to @‌MockBeans | Baeldung

>>  How to Setup Stub Server Easily Using Moco | Baeldung

>>  Debugging Quarkus Applications | Baeldung

>>  Guide to Using the JMeter Beanshell | Baeldung

>>  Mockito Answer API: Returning Values Based on Parameters | Baeldung

>>  Analyzing JMeter Results | Baeldung

>>  Automated Accessibility Testing With Selenium | Baeldung

>>  Understanding Ramp-up in JMeter | Baeldung

>>  Assert Collection of JSON Objects Ignoring Order | Baeldung

>>  Difference Between Mockito Core and Mockito Inline | Baeldung

>>  Using MockMvc With SpringBootTest vs. Using WebMvcTest | Baeldung

>>  Mockito模拟返回值为void的方法

>>  JUnit vs TestNG:快速比较

>>  TestNG 介绍

>>  使用TestNG进行自定义报告

>>  Serenity BDD 整合 Spring 和 JBehave

>>  Serenity BDD介绍

>>  用Jbehave测试REST API

>>  Spring 5 中的并发测试执行

>>  Serenity BDD与Screenplay模式

>>  EasyMock简介

>>  Mockito 之 Spy 用法

>>  Difference Between getText() and getAttribute() in Selenium WebDriver | Baeldung

>>  使用Maven跳过测试

>>  Automated End-to-End Testing With Playwright | Baeldung

>>  Avoiding “no runnable methods” Error in JUnit | Baeldung

>>  Testing a Quarkus Application Using Testcontainers for Service Dependencies | Baeldung

>>  Soft Assertions with AssertJ | Baeldung

>>  Ignoring Fields During Comparison Using AssertJ | Baeldung

>>  Mockito Mocks注入到Spring中

>>  Intro to SpotBugs | Baeldung

>>  A Guide to the @AutoClose Extension in JUnit5 | Baeldung

>>  在Spring Boot测试中使用@Autowired和@InjectMocks

>>  Testcontainers JDBC Support | Baeldung

>>  Testing Quarkus With Citrus | Baeldung

>>  Solving the ParameterResolutionException in JUnit 5 | Baeldung

>>  How to Test Spring Application Events | Baeldung

>>  Check Whether a Collection Contains an Element or Not Using Hamcrest | Baeldung

>>  Testing CORS in Spring Boot | Baeldung

>>  Difference Between hasItems(), contains(), and containsInAnyOrder() in Hamcrest | Baeldung

>>  Check if a Variable Is Null Using Hamcrest | Baeldung

>>  How to Delay a Stubbed Method Response With Mockito | Baeldung

>>  Improving Test Coverage and Readability With Spock’s Data Pipes and Tables | Baeldung

>>  Create and Run Apache JMeter Test Scripts via Java Program | Baeldung

>>  Integration Testing Spring WebClient Using WireMock | Baeldung

>>  Automated Visual Regression Testing Over Scalable Cloud Grid | Baeldung

>>  Testcontainers With MongoDB in Java | Baeldung

>>  The Difference Between JUnit and Mockito | Baeldung

>>  AssertJ 入门介绍

>>  Embedded PostgreSQL for Spring Boot Tests | Baeldung

>>  Java Mock 访问权限为protected的方法

>>  Mockito中doAnswer()和thenReturn()的区别

>>  JUnit 自定义显示名称生成器API

>>  Spring Boot 使用嵌入式 MongoDB 做集成测试

>>  在Java中为测试重写系统时间

>>  @TestPropertySource快速指南

>>  假数据生成库 JavaFaker 教程

>>  How to Test a Spring AOP Aspect | Baeldung

>>  assertEquals() vs. assertSame() in JUnit | Baeldung

>>  Fix Ambiguous Method Call Error in Mockito | Baeldung

>>  利用WireMock场景

>>  Injecting @Mock and @Captor in JUnit 5 Method Parameters | Baeldung

>>  Guide to ApplicationContextRunner in Spring Boot | Baeldung

>>  学习JUnit

>>  Mock @Value in Spring Boot Test | Baeldung

>>  Mock Nested Method Calls Using Mockito | Baeldung

>>  Automated Browser Testing With Selenium | Baeldung

The Baeldung logo

分类

  • Spring
  • REST
  • Java
  • Security
  • Persistence
  • Jackson
  • HTTP Client-Side

系列教程

  • Java “回归基础” 教程
  • Jackson JSON 教程
  • HttpClient 4 教程
  • REST 与 Spring 教程
  • Spring 持久化教程
  • Security 与 Spring

关于

  • 关于 Baeldung
  • 课程
  • 工作
  • 归档
  • 为Baeldung写作
  • 编辑
  • 合作伙伴
  • GitHub中文社区
  • Terms of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo