TestingΒΆ
Automated tests are an essential part of ongoing development in large projects. There are many types of automated tests and definitions often differ from project to project. In OXID, the following definitions are used:
- Unit tests
- Integration tests
- Acceptance tests
OXID uses few standard testing frameworks:
- PHPUnit for unit and integration testing
- Codeception for acceptance testing
Note
The following development tools have to be installed to run all OXID eShop tests:
- Codeception framework for Codeception tests
- Codeception asserts module for Codeception test
- Codeception db module for Codeception test
- Codeception file system module for Codeception test
- Codeception webdriver module for Codeception test
- OXID eShop Codeception Modules for Codeception test
- OXID eShop Codeception Page Objects for Codeception test
- Developer Tools component for Codeception test
- PHPUnit framework for unit/integration tests
- vfsStream for unit/integration tests
- PHPUnit Prophecy for unit/integration tests