Skip to content

Running Tests

John S edited this page May 23, 2018 · 9 revisions
Selenium Server
  • Please Note: In order to run the tests you need to have an instance of Selenium Server running locally.

  1. CD to the acceptance test directory:
    • cd [PATH_TO_MAGENTO_MSI]/dev/tests/acceptance
  2. Generate the Tests:
    • ./vendor/bin/robo generate:tests
  3. There are a few different ways you could run your Tests:
    1. Full Suite of Tests:
      • Robo: ./vendor/bin/robo functional
      • Codeception: ./vendor/bin/codecept run functional --skip-group skip
    2. Specific Group of Tests:
      • Robo: ./vendor/bin/robo group [GROUP_NAME]
      • Codeception: ./vendor/bin/codecept run functional --debug --skip-group skip --group [GROUP_NAME]
    3. 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
    4. 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

MSI Documentation:

  1. Technical Vision. Catalog Inventory
  2. Installation Guide
  3. List of Inventory APIs and their legacy analogs
  4. MSI Roadmap
  5. Known Issues in Order Lifecycle
  6. MSI User Guide
  7. DevDocs Documentation
  8. User Stories
  9. User Scenarios:
  10. Technical Designs:
  11. Admin UI
  12. MFTF Extension Tests
  13. Weekly MSI Demos
  14. Tutorials
Clone this wiki locally