PHP Unit Testing
Offered By: Pluralsight
Course Description
Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
This course will teach you how to write unit tests for your PHP using PHPUnit.
In this course, PHP Unit Testing, you’ll learn to write unit tests using PHPUnit. First, you’ll explore why you should write tests for your code and how it will make your life easier as a developer. Next, you’ll discover how to write assertion tests, use fixtures as well as, using test doubles to isolate unit tests from external dependencies. Finally, you’ll learn how to tackle more advanced topics such as test driven development, code coverage, database integration testing and testing asynchronous calls in PHP. When you’re finished with this course, you’ll have the skills and knowledge of confidently writing tests for your PHP code using PHPUnit.
In this course, PHP Unit Testing, you’ll learn to write unit tests using PHPUnit. First, you’ll explore why you should write tests for your code and how it will make your life easier as a developer. Next, you’ll discover how to write assertion tests, use fixtures as well as, using test doubles to isolate unit tests from external dependencies. Finally, you’ll learn how to tackle more advanced topics such as test driven development, code coverage, database integration testing and testing asynchronous calls in PHP. When you’re finished with this course, you’ll have the skills and knowledge of confidently writing tests for your PHP code using PHPUnit.
Syllabus
- Course Overview 1min
- Why You Should Write Tests For Your Code 17mins
- Setting Up Your Environment 9mins
- Writing Tests with PHPUnit 32mins
- Test Driven-development Fundamentals 28mins
- Using Fixtures 29mins
- Test Doubles in PHPUnit 29mins
- Database Interaction Testing 19mins
- Measuring Code Coverage 14mins
- Testing Asynchronous PHP Code 11mins
Taught by
Travis Thomsen
Related Courses
Advanced C# Programming in .NET CoreEDUCBA via Coursera Build Advanced Components for Filament
Laracasts Learn Asynchronous JavaScript
Codecademy Learn JavaScript: Requests
Codecademy Advanced JavaScript 2: Async JS, APIs, Operators, Objects
Scrimba via Coursera