mftf-buddy/tests

MFTF Buddy Tests

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:magento2-module

1.0.0 2023-03-19 16:03 UTC

This package is auto-updated.

Last update: 2024-04-19 19:59:20 UTC


README

Magento functional tests made easy!

Steps to run MFTF tests in MFTF-Buddy cloud:

  1. Register at https://www.mftf-buddy.com to get MFTF Buddy Secret Key
  2. Install this module in your Magento project:
  • composer require mftf-buddy/tests
  • bin/magento module:enable MFTFBuddy_Tests
  • bin/magento setup:upgrade
  1. Set MFTF Buddy Secret Key as MB_SECRET_KEY env variable in dev/tests/acceptance/.env_mb file
  2. Run suite of tests via Magento CLI command:
    bin/magento mftf-buddy:run-tests <suite-name>
    This command will output Test Session ID, which can be used to get detailed logs from finished test run
  3. Get detailed logs from finished test run:
    bin/magento mftf-buddy:dump-logs <test-session-id> [<output-dir>]