PHP: Testing Legacy Applications
Offered By: LinkedIn Learning
Course Description
Overview
Learn how to write tests for legacy PHP code bases. Discover why legacy code can be tough to test, how to determine what to test, and how to plan and build testing scenarios.
Syllabus
Introduction
- Welcome
- What you need you to know
- Exercise files
- TDD vs. test after
- How the tools change
- Quick primer on test doubles
- Code coverage and confidence levels
- Difficult people
- Bootstrap sequences, part 1
- Bootstrap sequences, part 2
- Hard-coded dependencies
- Difficult deployments
- Poor package management practices
- Just how many tests do we need?
- Tests as questions
- How we decide what to test?
- Real vs. monkey patch vs. double
- Why test a legacy application?
- Identifying dependencies
- Planning a scenario
- Building a scenario
- Planning real to doubles
- Building real to doubles
- Refactor your tests
- Add getters and setters
- Next steps
Taught by
Chris Hartjes
Related Courses
Introduction to Functional ProgrammingDelft University of Technology via edX Introduction to Office 365 Development and APIs
Microsoft via edX Web Development and Design using Wordpress
California Institute of the Arts via Kadenze Build a Basic PHP Website Course (How To)
Treehouse Web Applications for Everybody
Independent