PHP: Testing Legacy Applications

PHP: Testing Legacy Applications
PHP: Testing Legacy Applications

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 1h 43m | 358 MB
eLearning | Skill level: Intermediate

Working with a legacy code base can be tricky. Developers who need to add new features or fix bugs often feel the need to tread lightly when working with older code, fearing that one wrong move might cause them to break something important. The same apprehension can affect developers who want to test legacy PHP applications. In this course, instructor Chris Hartjes guides PHP developers through the challenges of testing legacy applications, and steps through how to write tests for legacy PHP code bases.

Chris begins by explaining the difference between test-driven development as a design pattern and writing tests after the code is already designed. Next, he shares some reasons why legacy code can be tough to test, including poor package management practices and hard-coded dependencies. He then covers how—and what—you should be testing, how to plan out testing scenarios, and how to refactor a test suite. Upon wrapping up this course, you’ll have the skills you need to test your legacy PHP code with confidence.

Topics include:

  • What changes when testing legacy code
  • Why legacy code can be difficult to test
  • Identifying hard-coded dependencies in code
  • Deciding what to test
  • Testing legacy code
  • Planning a scenario
  • Building a testing scenario from scratch
  • Refactoring a test suite

Download from Turbobit

Download from DepositFiles

Download from Rapidgator