Running Tests - magento/inventory GitHub Wiki
Selenium Server
- Please Note: In order to run the tests you need to have an instance of Selenium Server running locally.
- CD to the acceptance test directory:
cd [PATH_TO_MAGENTO_MSI]/dev/tests/acceptance
- Generate the Tests:
./vendor/bin/robo generate:tests
- There are a few different ways you could run your Tests:
- Full Suite of Tests:
- Robo:
./vendor/bin/robo functional
- Codeception:
./vendor/bin/codecept run functional --skip-group skip
- Specific Group of Tests:
- Robo:
./vendor/bin/robo group [GROUP_NAME]
- Codeception:
./vendor/bin/codecept run functional --debug --skip-group skip --group [GROUP_NAME]
- MSI Tests - Single Source/Stock Mode:
- Robo:
./vendor/bin/robo group single_mode
- Codeception:
./vendor/bin/codecept run functional --debug --skip-group skip --group single_mode
- MSI Tests - Multi Source/Stock Mode:
- Robo:
./vendor/bin/robo group multi_mode
- Codeception:
./vendor/bin/codecept run functional --debug --skip-group skip --group multi_mode