-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Fabian Schmengler edited this page Oct 9, 2017
·
9 revisions
This wiki contains the exercise descriptions for the Test Driven Magento course. Most exercises come with a prepared module that can be cloned from a separate repository. They have branches with solutions for each exercise.
Chapter 1: Configuration
- create integration test suite and first test
- use the object manager in integration tests
- access framework configuration in integration tests
Chapter 2: Controllers
- use the base controller test case
- use annotations for application state
- use data fixtures
- test ACL for backend controllers
Chapter 3: Database Layer
- test repositories
- test custom attributes
- write testable abstractions
Chapter 1: Test Doubles
- create unit test suite and first test
- create mocks and stubs for core classes with PHPUnit
Chapter 2: Ports and Adapters
- decouple business logic from core classes
- create custom test doubles
- Hire me to come to your company: https://www.integer-net.com/services/magento-training-courses/#M2-test
- Subscribe to the Test Driven Magento newsletter to get notified about other possibilities: http://tddwizard.com/