5 Levels of Automated Testing of an E-commerce Project
summary
Five concrete testing layers for an e-commerce stack: fast unit tests that run 1,000+ tests in 4s against the shops framework, functional tests that boot services and roll back DB transactions to validate persistence and integration, broad but shallow Chavez HTTP smoke testing for every registered route (checks only HTTP status), heavyweight browser acceptance tests via Selenium that cover business flows but are brittle, and Gatling load tests to catch scale problems (50 → 50,000 products). Continuous integration with Jenkins and PHPStan rounds out the pipeline.
AI-written summary · about
chapters (15)
- 0:00Intro
- 1:00What is testing
- 1:48Unit testing
- 5:39Functional testing
- 10:01HTTP smoke tests
- 11:44Advantages of smoke tests
- 15:17Advantages of acceptance tests
- 18:52Advantages of performance tests
- 23:19Coding standards
- 24:41Static analysis
- 25:07Architecture sniff
- 25:38Continuous integration
- 26:06Jenkins
- 26:52Resources
- 27:34Questions
related talks
18mTesting Ecommerce Projects: What to Watch For
42mPerformance Testing 101: e-Commerce
35mTest Automation by Example
33mA witches guide to testing
56mUnit Testing by Example
18mEffective Test Automation Framework Design
20mEffective Testing Approaches for your Application with Cecelia Martinez
33mBuilding an Automated Test System from Scratch
