Testing java spring apps with JUNIT, Mockito, Wiremock

所在平台: Udemy

课程主页: https://www.udemy.com/course/testing-java-apps-with-junit-mockito-wiremock-and-postman/

课程评论:没有评论

第一个写评论        关注课程

课程简介

**课程名称:** 使用 JUnit、Mockito、WireMock 测试 Java 应用 **课程概述:** 本课程专为希望提升软件质量和健壮性的 Java 开发者设计。您将学习使用流行的 Java **单元测试**框架 JUnit,以及 **Mockito** 和 **WireMock** 库来创建模拟对象和模拟 HTTP 交互。此外,课程还将涵盖使用 Postman 测试和调试 **RESTful API**。 **课程重点:** * **JUnit 概念:** 学习如何编写测试用例来覆盖所有功能,确保代码的完整性。 * **Postman 的高级应用:** 掌握使用 Postman 编写自动化测试并构建自定义 Mock 服务器。 * **Mockito:** 理解 Stubs、Spies 和 Mocks 的区别,并学习如何在简单的 Java 应用中使用它们,以及如何根据不同场景选择合适的模拟策略。 * **WireMock:** 学习如何测试使用 REST API 客户端的应用。 **学习目标:** 完成课程后,您将能够: * 自信地为 Java 应用程序创建、执行和维护自动化测试。 * 编写易于维护、理解和执行的测试用例。 * 掌握测试 Java 应用的最佳实践,并避免常见陷阱。 **课程价值:** 这些是提升您的职业生涯和编写更优代码的必备知识。

课程评论(0条)

课程详情

"Testing Java Apps with JUnit, Mockito, Wiremock, and Postman" is a course designed for Java developers who want to improve their skills in creating robust, high-quality software. It covers the use of JUnit, a popular Java framework for unit testing, along with the Mockito and Wiremock libraries for creating mock objects and simulating HTTP interactions. Additionally, the course covers the use of Postman for testing and debugging RESTful API's. Throughout the course, you will learn how to write test cases that are easy to maintain, understand and execute. The course will also cover the best practices and common pitfalls to avoid when testing Java applications. By the end of the course, you will have the knowledge and skills needed to confidently create, execute, and maintain automated tests for your Java applications.You will learn about:JUNIT concepts - we first write the code for our app, then we identify what is missing to be proud of our code and at the end of this chapter we implement some tests that will cover all our functionality.how to use POSTMAN to write automated tests and also build your own mock server. POSTMAN is used, most of the times, just for making requests to our app, but in reality it has a lot of functionality that can make your life easierMockito - we will talk about stubs/spies/mocks. We first write some tests that will use stub/mock/spy for the simple java app and after that we learn what changes in our approach. You will need this information to know exactly when to use what.Wiremock - you will learn how to an app that uses a rest api clientThese are must know knowledge if you want to advance your career and write better code.

课程标签

0人关注该课程

主题相关的课程