Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
PHP Unit Testing - PHPUnit Tutorial - Full PHP 8 Tutorial
Play lesson

Learn PHP The Right Way - Full PHP Tutorial For Beginners & Advanced - PHP Unit Testing - PHPUnit Tutorial - Full PHP 8 Tutorial

Master PHP 8 in Style: From Basics to Building Dynamic Apps with Program With Gio

4.0 (0)
14 learners

What you'll learn

Learn to install and configure PHP and web servers effectively
Understand and utilize PHP data types and operators for code efficiency
Master PHP's OOP concepts, including classes, interfaces, and inheritance
Implement security measures like CSRF, XSS protection, and session management

This course includes

  • 34.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

In this video, you will learn how to install & configure PHPUnit, how to write unit tests, data providers & so on. Note that this is part one of a two-part video and in the next video we'll do more testing along with things like stubs, mocking & test doubles. SOME OF THE WAYS YOU CAN SUPPORT THE CHANNEL 👍 Smash the like button 🤝 Subscribe to the channel & turn the notifications on 💬 Post comments, any feedback is greatly appreciated ⭐ Become a Patreon: https://www.patreon.com/programwithgio THANK YOU! 🛠️ TOOLS & SERVICES I USE Digital Ocean Hosting - Get 100$ credit - https://m.do.co/c/38b935ad74e5 Domains on Namecheap - https://namecheap.pxf.io/rnRjdQ Envato Elements - https://1.envato.market/c/2937311/298927/4662 LESSON 3.1 Course Outline - https://github.com/ggelashvili/learnphptherightway-outline Course Playlist - https://www.youtube.com/playlist?list=PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe- RESOURCES Docs - https://phpunit.readthedocs.io/ Video about comparing objects - https://www.youtube.com/watch?v=zCGmZb3z-r8 Source Repo - https://github.com/ggelashvili/learnphptherightway-project/tree/3.1 TABLE OF CONTENTS 00:00 - Install PHPUnit 02:22 - PHPUnit Configuration 03:56 - Writing Unit Tests 12:08 - Share test setup code (setup method) 14:33 - Data providers & testing exceptions 22:11 - External data providers & test class autoloading 25:14 - More tests 27:56 - Strict comparison vs loose comparison in tests (assertEquals vs assertSame) ** Affiliate Disclaimer: Some of the above links may be affiliate links, which may generate me a sales commission at no additional cost to you.

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere