|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/automated-software-testing-with-python/
课程评论:没有评论
本课程名为“使用Python进行自动化软件测试”,是Udemy上关于此主题最全面的课程之一。该课程由软件工程师Jose主讲,旨在帮助开发者深入理解各种自动化测试技术。 课程重点关注Web端测试,将涉及REST API和Web应用程序,并使用unittest、Postman 和 Selenium WebDriver等技术。即使是非Web项目,学员也能将学到的知识应用于其中。 课程内容涵盖: * **unittest库**:Python标准的自动化软件测试库。 * **Mocking和Patching**:减少测试依赖性的关键工具。 * **各种测试类型**:包括单元测试、集成测试、系统测试和验收测试。 * **Postman**:用于便捷的协作和开发中测试。 * **Selenium WebDriver**:用于自动化浏览器测试。 * **Git和Travis**:用于项目的持续集成。 课程将从基础软件测试技能讲起,如同求职必备技能,并应用于现有项目。内容范围包括使用unittest库进行mocking和patching,以及各种测试类型,从简单的单元测试到大型系统测试和客户验收测试。 **测试金字塔** 是课程的重要概念。课程将遵循“大量单元测试,适量集成测试,少量系统测试,极少量验收测试”的原则,确保系统组件的全面覆盖。使用单元测试覆盖组件,集成测试测试依赖项,系统测试覆盖整个系统。此外,还将讲解验收测试的概念、编写方法,以及如何使用行为驱动开发(BDD)和Selenium WebDriver为Web应用程序编写验收测试。 **Selenium WebDriver自动化浏览器测试** 部分将教授专业地设计验收测试,并使用页面对象模型(Page Objects)、定位符(Locators)和步骤定义(Step Definitions)来构建可重用的自动化测试。还将学习Selenium WebDriver和Python中的隐式等待(Implicit Waits)和显式等待(Explicit Waits),以提高验收测试的运行效率。 **持续集成(CI)** 也是课程的一部分。学员将学习如何实现CI管道,在代码变更时自动运行测试,从而提高项目质量并捕捉bug。课程将演示如何将项目托管在GitHub并实现CI管道。 课程承诺将引导学员完成这段自动化测试之旅,并期待在课程中与大家相见。
Welcome to the most comprehensive course on Automated Software Testing with Python on Udemy.Testing automation doesn't have to be painful. Software testing is an essential skill for any developer, and I'm here to help you truly understand all types of test automation with Python.I'm Jose, a software engineer and founder of Teclado. The focus of this course is on testing for the web-we'll be working with REST APIs and web applications, and technologies such as unittest, Postman, and Selenium WebDriver.Fear not though, after going through this course, you'll be able to take your new testing knowledge and apply it to any project, even non-web projects!What will you work with?This course is jam-packed with all the latest technologies for you to use professionally and in personal projects:The unittest library, Python's standard automated software testing library;Mocking and patching, two essential tools to reduce dependencies when testing;unit, integration, system, and acceptance testing-all types of testing to have you fully covered;Postman for easy collaboration and testing while developing;Selenium WebDriver for automated browser tests;Git and Travis for continuous integration of your project.Fundamental Software Testing SkillsWe will cover every fundamental software testing skill that you need to know in order to get a job testing or to apply these skills in your existing projects.From things like mocking and patching using the unittest library, which reduce dependencies and turn complex tests to simple ones; to looking at all types of testing: simple unit tests to large system tests and even customer acceptance tests.The Testing PyramidThe Testing Pyramid says you should have a lot of unit tests, slightly fewer integration tests, even fewer system tests, and as few acceptance tests as possible.Throughout the course we work on this concept, making sure that we have full coverage of every component of our system with unit tests. Then we test the dependencies using integration tests. Finally, we cover the entire system and its assumptions using system tests. Of course, we'll also look at what acceptance testing is, how we come up with acceptance tests, and some of the best ways to write acceptance tests for a web application using Behavior-Driven Development and Selenium WebDriver.Automated Browser Testing with Selenium WebDriverSelenium WebDriver is extremely powerful, particularly when coupled with the efficient and tried-and-tested approach recommended in this course. We'll design our acceptance tests professionally-just the way you'd do at a software testing job. We'll use page models, locators, and step definitions to structure the automated tests in a reusable way. The customers will be able to come up with acceptance tests that you can easily translate to code.We'll also learn about implicit and explicit waits with Selenium WebDriver and Python, a key concept to speed up the runtime of your acceptance tests.Continuous IntegrationWe also cover how you can take automated testing much further in your projects.By implementing a Continuous Integration pipeline that runs your tests whenever you make any changes, you'll have much higher quality in your projects and not let any pesky bugs pass you by. We'll look at putting our projects in GitHub and liking the CI pipeline with them.I'm really excited to guide you through this course!Join me in this automated testing journey. I'll see you on the inside!