Introduction to Java unit testing with JUnit5 framework

所在平台: Udemy

课程主页: https://www.udemy.com/course/introduction-to-java-unit-testing-with-junit5-framework/

课程评论:没有评论

第一个写评论        关注课程

课程简介

**Coursera 课程总结:Java 单元测试入门 (JUnit 5)** 本课程将引导您学习使用 JUnit 5 框架进行 Java 单元测试的基础知识。无需任何 JUnit 经验,只需具备基本的 Java 知识(如类、方法、变量、对象等)和学习新事物的意愿。 **课程亮点:** * **为什么需要单元测试:** 深入理解在应用程序中引入单元测试的重要性。 * **测试类定义:** 学习如何组织和创建包含所有单元测试的测试类。 * **关键注解:** 掌握 JUnit 5 中常用的注解及其用法。 * **结果解读与修复:** 理解单元测试结果的含义,并学会如何修复失败的测试。 课程将以一个基础 Java 类为例,为每个方法创建单元测试,确保其功能正常。课程使用 Java 11 LTS 和 IntelliJ IDEA 进行演示,但内容适用于所有后续 Java 版本。 加入我们,一同探索 Java 单元测试的精彩世界!

课程评论(0条)

课程详情

In this course you will be guided through the basics of Java unit testing using JUnit5 framework. You do not need to have any prior JUnit experience or knowledge to take this course. All you need to have - willingness to learn some new exiting things about unit testing on Java using JUnit5 framework and some time to write unit tests along with me. Some basic Java knowledge is required, you need to be familiar with some basic concepts like class, method, variables, objects, etc.Java 11 LTS is used in this course and examples are shown in IntelliJ IDEA. But all taught content will work fine on later versions of Java.We will define a basic Java class and for each method of this class we will create unit tests, so we could be sure everything works as it should.The most important topics covered in this course includesExplanation why we should include unit tests in each our applicationHow to define a test class, where all unit tests will resideImportant annotations used in test classes How to interpret unit tests resultsHow to fix failed testsI hope you will really enjoy opening for yourself a new entertaining world of unit testing on Java!

课程标签

0人关注该课程

主题相关的课程