|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/spring-boot-testing/
课程评论:没有评论
课程名称:2025年- Spring Boot自动化测试- 用户界面和微服务 概述:本课程旨在提供一个清晰而实用的理解,如何将Spring Boot框架与流行的自动化测试工具(如Selenium和Playwright用于UI自动化,RestAssured用于测试微服务)相结合。该课程专为初学者设计,即便是对Spring Boot没有任何先前知识的学习者,也能通过易于理解的方法掌握UI和基于微服务应用程序的自动化测试。 课程内容:完成本课程后,您将对Spring Boot及其在自动化测试中的应用有扎实的基础,包括: 1. **Spring Boot基础** 创建Spring Boot项目并与Selenium集成以自动化UI测试,涵盖依赖注入(DI)、构造函数注入、字段注入、值注入、配置文件等关键概念。 2. **Spring Boot与Selenium自动化** 在第一部分的基础上应用Spring Boot来组织Selenium测试,简化自动化框架。 3. **Spring Boot与Selenium及Cucumber集成** 学习如何将Cucumber与Selenium和Spring Boot集成,编写人类可读且高效的BDD(行为驱动开发)测试用例。 4. **与Spring Boot并行执行Selenium测试** 学习如何使用Spring Boot并行运行Selenium测试,以便于扩展和优化测试执行。 5. **与Github Actions的Selenium测试CI/CD** 学习如何在Github Actions中执行Spring Boot的Selenium测试。 6. **使用Spring Boot开发微服务应用** 指导您从零开始创建一个微服务应用程序,以便在接下来的部分进行测试。 7. **利用Spring Boot和RestAssured测试微服务** 使用RestAssured进行API测试,运用TestRestTemplate和MockMvc测试Spring MVC网页组件。 8. **RestAssured速成课程** 一个关于RestAssured的速成课程,最初在YouTube上发布,教您如何在Java中执行API测试,以及如何在Spring Boot框架中应用这些技巧。 课程结束时,您将对Spring Boot有全面的基本了解,从而能够进行自动化测试。
Spring Boot for Automation Testing (UI and Microservices) is designed to provide a clear and practical understanding of how to integrate the Spring Boot framework with popular automation testing tools like Selenium & Playwright for UI automation, and RestAssured for testing micro services. This course caters to beginners, even those with ZERO prior knowledge of Spring Boot, by offering an easy-to-follow approach to mastering automation testing for both UI and microservices-based applications.What You Will Learn:By the end of this course, you'll have a solid foundation in Spring Boot and its application in automation testing, including:1. Spring Boot BasicsIn this section, you'll learn how to create a Spring Boot project and integrate it with Selenium to automate UI testing. We'll cover key concepts like:• Dependency Injection (DI)• Constructor Injection• Field Injection• Value Injection• Profiles, and more.2. Spring Boot for Selenium AutomationBuilding on the knowledge from Section 1, you'll apply Spring Boot to structure Selenium tests, streamlining your automation framework.3. Spring Boot for Selenium and Cucumber IntegrationLearn how to integrate Cucumber with Selenium and Spring Boot to write BDD-style (Behavior-Driven Development) test cases that are human-readable and efficient.4. Parallel Selenium Execution with Spring BootLearn how to run Selenium tests in parallel using Spring Boot, helping you to scale and optimize test execution.5. CI/CD of Selenium Test with Github ActionsLearn how to Selenium test within Github Actions along with Spring boot6. Developing Microservice Applications with Spring BootIn this section, we'll guide you through creating a microservice application using Spring Boot from scratch, which we'll then use for testing in the next section.7. Testing Microservices with Spring Boot and RestAssuredTest the microservice application built in Section 4 using:• RestAssured for API testing• TestRestTemplate• MockMvc for testing Spring MVC web components8. RestAssured Crash CourseA bonus crash course on RestAssured, originally featured on YouTube, has been added to teach you how to perform API testing in Java. You'll also learn how to apply these techniques within the Spring Boot framework.And the end of the course, you will have a complete basic understanding of Spring boot to perform automation testing.