|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/java-software-testing/
课程评论:没有评论
**课程名称:** Master TDD JUnit4 JUnit5 Hamcrest Mockito Testing **课程概述:** 本课程旨在教授软件开发中的关键测试技术,帮助学员编写高质量的测试代码,从而提升软件应用质量,简化代码修改,并为业务提供对软件実装风险客观、独立的可视性。通过丰富的代码示例,学员将一步步学习如何编写有效的单元测试方法,并理解其背后的原理。 **课程内容涵盖:** * **软件测试基础:** * 单元测试入门 * 调试测试 * 测试覆盖率 * 测试原则与优秀单元测试实践 * 测试驱动开发 (TDD) * **JUnit4 测试:** * JUnit4 断言 * JUnit4 生命周期 * JUnit4 参数化测试 * JUnit4 测试规则 * **JUnit5 测试:** * JUnit5 断言 * JUnit5 生命周期 * @RepeatedTest 和 @TestMethodOrder * JUnit5 参数化测试 * JUnit5 TestInfo * **Hamcrest 测试:** * Hamcrest 基础 * Hamcrest 匹配器断言 * Hamcrest 自定义匹配器 * **Mock 测试:** * Mockito Mock 类 * Mockito Mock 接口 * Mockito 参数匹配器 * Mockito thenAnswer **学习目标:** 通过学习本课程,学员将能够熟练运用 TDD、JUnit4、JUnit5、Hamcrest 和 Mockito 进行单元测试,并在整个开发阶段编写出高质量的测试代码。 **附加资源:** 学员可以在课程最后一节下载项目源代码。
As everyone knows, testing is very important for software development. Writing good test code can improve the quality of the software application and make code changes much easier. - Software testing can also provide an objective, independent view of the software to allow the business to appreciate and understand the risks of software implementation.- Software testing can provide objective, independent information about the quality of software and risk of its failure to usersThis course covers some common software testing techniques and will teach you with code examples. Not only TDD, JUnit, but also Hamcrest Testing, Mockito Testing. I will show you step by step how to write a unit test method and explain the raisons behind.Keep coding following each section, I believe you will be able to write good testing code throughout your development phase.Software Testing Basics- First Unit testing- Debug Test- Test coverage- Test Principles & Good Unit Testing- Test Driven DevelopmentJUnit4 Testing- JUnit4 Assertions- JUnit4 Lifecycles- JUnit4 Parameterized Test- JUnit4 Test RulesJUnit5 Testing- JUnit5 Assertions- JUnit5 Lifecycles- RepeatedTest & Order of Test- JUnit5 Parameterized Test- JUnit5 TestInfoHamcrest Testing- Hamcrest Basic- Hamcrest Matcher Assertions- Hamcrest Custom MatcherMock Testing- Mockito Mock Class- Mockito Mock Interface- Mockito Argument Matchers- Mockito thenAnswerIf you are interested, join this course and enjoy ~Finally, you can download the project source code from attachment in the last section.