E-book details

Test-Driven Development with PHP 8. Build extensible, reliable, and maintainable enterprise-level applications using TDD and BDD with PHP

Test-Driven Development with PHP 8. Build extensible, reliable, and maintainable enterprise-level applications using TDD and BDD with PHP

Rainier Sarabia, Ben Hansen

Ebook
PHP web developers end up building complex enterprise projects without prior experience in test-driven and behavior-driven development which results in software that’s complex and difficult to maintain. This step-by-step guide helps you manage the complexities of large-scale web applications. It takes you through the processes of working on a project, starting from understanding business requirements and translating them into actual maintainable software, to automated deployments.
You’ll learn how to break down business requirements into workable and actionable lists using Jira. Using those organized lists of business requirements, you’ll understand how to implement behavior-driven development (BDD) and test-driven development (TDD) to start writing maintainable PHP code. You’ll explore how to use the automated tests to help you stop introducing regressions to an application each time you release code by using continuous integration.
By the end of this book, you’ll have learned how to start a PHP project, break down the requirements, build test scenarios and automated tests, and write more testable and maintainable PHP code. By learning these processes, you’ll be able to develop more maintainable, and reliable enterprise PHP applications.
  • 1. What is Test-Driven Development and Why Use It in PHP?
  • 2. Understanding and Organizing the Business Requirements of Our Project
  • 3. Setting Up Our Development Environment Using Docker Containers
  • 4. Using Object-Oriented Programming in PHP
  • 5. Unit Testing
  • 6. Applying Behavior-Driven Development
  • 7. Building Solution Code with BDD and TDD
  • 8. Using TDD with SOLID Principles
  • 9. Continuous Integration
  • 10. Continuous Delivery
  • 11. Monitoring
  • Title: Test-Driven Development with PHP 8. Build extensible, reliable, and maintainable enterprise-level applications using TDD and BDD with PHP
  • Author: Rainier Sarabia, Ben Hansen
  • Original title: Test-Driven Development with PHP 8. Build extensible, reliable, and maintainable enterprise-level applications using TDD and BDD with PHP
  • ISBN: 9781803243597, 9781803243597
  • Date of issue: 2023-01-13
  • Format: Ebook
  • Item ID: e_3a11
  • Publisher: Packt Publishing