|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/phpunit-unit-selenium-testing-for-php-developers/
课程评论:没有评论
课程名称:PHPUnit - 面向PHP开发者的单元测试与Selenium测试 课程概述:您是否希望能够测试自己的代码,从而成为更好的程序员?欢迎参加这门全面的PHPUnit(PHP的测试框架)和用于PHPUnit的Selenium课程。PHPUnit是用于测试用PHP语言编写的代码的工具,而Selenium则是用于自动化网页浏览器的工具,我们将在本课程中使用它来测试应用接口。您不仅将学习单元测试,还将了解集成测试、功能测试和验收测试等内容。特别强调PHP单元测试的重要性。 代码测试是非常重要的,这里有一些主要好处:您作为网页开发者可以避免在浏览器中进行手动测试的时间浪费,您能更快地找到代码中的错误,掌握PHPUnit后,您将开始编写可测试的代码(课程中将讲述何为不可测试的代码!),并且您的代码将更易于维护,适应未来的变化。简而言之,如果您还不熟悉PHPUnit,完成这门课程后您将成为更优秀的PHP程序员。PHPUnit是一项重要技能,如果您正在寻找PHP开发者的职位,这将大大增加您的被雇佣机会。 在课程中,我们会通过实际例子与动手编码讨论PHPUnit和Selenium的最重要方面,例如断言、数据提供者、模拟等(更多信息请见课程大纲)。您还将学习如何测试API客户端。课程最有趣的部分是从零开始构建一个基于MVC的PHP应用程序,采用测试驱动开发(TDD)方法,这是一个管理产品多层级分类的应用程序,实施起来并不简单。在这里,PHPUnit将特别有用。这是一次全面的TDD实践,不仅包括单元测试,我们还将使用Selenium WebDriver对该应用程序的用户界面进行测试。基于Zurb Foundation框架构建的HTML模板将可供下载(这不是因为我认为它是最好的,只是因为这个特定应用程序的模板最容易用Zurb构建)。我们将从零开始使用Slim微框架编写后端,并利用Laravel的优秀包illuminate/database进行数据库操作,使其变得非常简单。 为了更好地巩固所学知识,课程除了讲座外,还包括编码练习、测验、作业及其他实际活动。每节需要编码的讲座都有可供下载的文件资源,您可以下载并复制粘贴,但我鼓励您从屏幕上手动编写代码。 我保证,完成这门PHPUnit课程后,您将成为更好的PHP开发者。如果出于某种原因您不喜欢这门课程,Udemy始终提供30天的退款保证。但我怀疑您会不喜欢它。我100%相信您会对这门课程感到满意,从此您的PHP代码将变得更加优秀!
Do you want to be able to test your code and thus become a better programmer?Welcome to the very comprehensive PHPUnit (testing framework for PHP) and Selenium for PHPUnit course. PHPUnit is a tool for testing code written in PHP language. And Selenium is a tool for automating web browsers that we will use in this course to test application interfaces. You will learn not only about unit tests but also what integration, functional and acceptance tests are. Particular emphasis will be placed on php unit testing.Code testing is very important. Here there are most important benefits: you don't waste time as a web developer for manual testing in a web browseryou find mistakes in the code fasterwhat's more, by mastering PHPUnit you will start to write code that is testable (you will learn in the course what is non-testable code!)and your code will be easier to maintain, i.e. it will be easier to adapt it to the changes you might needIn short: if you haven't known PHPUnit yet, you'll simply be a better PHP programmer after completing this course. PHPUnit is a very important skill and if you're looking for a job as a PHP developer, it will allow you to increase your chances to get hired.During the course, we will be discussing the most important aspects of PHPUnit and Selenium for PHPUnit on practical examples with hands-on coding, such as assertions, data providers, mocks and others (see the curriculum for more information). You will also learn how to test api clients.The most interesting part of this course is building from scratch a real MVC-based application in PHP and PHPUnit using TDD - Test Driven Development approach. This is an application for managing product multi-level categories - which is not easy to implement. PHPUnit will be particularly useful here. It will be a very comprehensive TDD - not only unit tests but we will also test the user interface of this application using Selenium WebDriver. The HTML template of this application built using the Zurb Foundation Framework will be available to download (not because I think it is the best, just the template for this particular application was easiest to build using Zurb). We will be coding the backend from scratch using Slim Microframework for PHP. We will also use a great package from Laravel called illuminate/database for Laravel Eloquent ORM, thanks to which database operations are very easy.To better consolidate the acquired knowledge the course includes, in addition to lectures, coding exercises, quizzes, assignments and other practical activities.For each lecture that requires coding, there are file resources that you can download and copy & paste, but I encourage you to write code from the screen.I promise that you'll be a better PHP developer after completing this PHPUnit course. And even if for some reason you will not like this course, Udemy always offers you a 30-day money back guarantee. But I doubt that you will not like it. I am 100% sure that you will be happy with this course and your PHP code will be better from now!