9. Test Doubles - Mocks
Mocks – are fake object that helps decide if a test
failed or passed, by verifying if an interaction on
an object occurred or not.
10. Test Doubles - Stubs
Stubs provide canned answers to calls made
during the test, usually not responding at all to
anything outside what's programmed in for the
test.
11. Integration
• Сложный фреймворк построенный на
архитектуре приложения
– Фикстуры
– Изоляция запросов в БД
– PHPunit
• Больше времени на выполнение тестов