|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/learn-testng-testing-framework-from-scratch/
课程评论:没有评论
Coursera 课程总结:Java TestNG 测试框架从零开始 本课程旨在全面介绍 TestNG 测试框架,一个受 JUnit 和 NUnit 启发的强大工具,它提供了更丰富的功能,使其更易于使用。TestNG 能够覆盖单元测试、功能测试、端到端测试、集成测试等各类测试场景。课程内容涵盖从环境搭建到与持续集成工具的集成,具体学习要点包括: 1. **TestNG 框架工作原理**:深入理解 TestNG 的核心概念和用法。 2. **断言 (Assertion)**:学习如何使用断言来验证测试结果的准确性。 3. **批量执行测试用例**:掌握如何高效地批量运行测试。 4. **TestNG 执行报告生成**:学习如何生成详尽的测试执行报告。 **数据读取与处理**: * **从 CSV 文件读取数据**:学习如何从逗号分隔的文件中读取测试数据。 * **跳过注释和新行**:掌握处理 CSV 文件时跳过无效行的技巧。 **Ant 构建工具基础**: * **`build.xml` 文件介绍**:理解 Ant 构建脚本的作用。 * **Target 的概念**:学习 Target 在 Ant 中的作用,以及 TestNG 相关的 Target。 * **TestNG 与 Ant 的集成**:学习如何将 TestNG 集成到 Ant 的构建流程中。 **Subversion (SVN) 版本控制**: * **SVN 安装与配置**:学习安装 VisualSVN 和 TortoiseSVN 客户端。 * **创建和管理仓库**:掌握如何创建 SVN 仓库。 * **项目导入与版本管理**:学习如何导入项目、进行 Check-in(提交)和 Check-out(更新)。 * **Eclipse SVN 插件**:了解并使用 Eclipse 中的 SVN 插件。 **持续集成工具 Hudson**: * **Hudson 配置**:学习如何配置 Hudson。 * **从 Hudson 执行 TestNG**:掌握如何通过 Hudson 触发 TestNG 测试。 * **Hudson 生成 TestNG 报告**:学习如何让 Hudson 生成 TestNG 测试报告。 * **Hudson 与 Ant 集成**:了解如何将 Ant 构建与 Hudson 集成。 课程中演示的源代码也将提供下载,方便学习者实践和参考。
TestNG is a testing framework inspired from JUnit and NUnit but introducing some new functionality that make it more powerful and easier to use. TestNG is designed to cover all categories of tests: Unit, functional, end-to-end, integration, etc., The Video includes from setting up the environment till integration with CI tools In this training course, attendees will learn the following 1. Working with TestNG Framework. 2. How to use Assertion. 3. How to do batch execution of testcases. 4. TestNG execution Report generation. Reading the Data from CSV file 1.Reading the Data from Comma separated files. 2.Skipping comments. 3.Skipping new lines. Basic of Ant build Tool 1. What is build.xml. 2. What is a target, TestNG target present in Ant. 4. Integration of TestNG with Ant tool. Subversion - SVN 1.Installing Visual SVN and Tortoise SVN Client 2.Creating Repository. 3.Importing the Project. 4.Taking Check in and Check out 5. SVN Plugin for Eclipse Continuous Integration Tool Hudson 1. Configuring the Hudson. 2. Execution of TestNG from Hudson. 3. Generating TestNG Report from Hudson. 4. Integration of Ant with Hudson. And source code shown as part of video lecture will be provided for download