mftf-buddy/tests

MFTF Buddy 测试

安装: 1

依赖项: 0

建议者: 0

安全: 0

星标: 0

关注者: 1

分支: 0

公开问题: 0

类型:magento2-module

1.0.0 2023-03-19 16:03 UTC

This package is auto-updated.

Last update: 2024-09-19 20:53:51 UTC


README

让 Magento 功能测试变得简单!

在 MFTF-Buddy 云中运行 MFTF 测试的步骤

  1. https://www.mftf-buddy.com 注册以获取 MFTF Buddy Secret Key
  2. 将此模块安装到您的 Magento 项目中
  • composer require mftf-buddy/tests
  • bin/magento module:enable MFTFBuddy_Tests
  • bin/magento setup:upgrade
  1. 在 dev/tests/acceptance/.env_mb 文件中将 MFTF Buddy Secret Key 设置为 MB_SECRET_KEY 环境变量
  2. 通过 Magento CLI 命令运行测试套件
    bin/magento mftf-buddy:run-tests <suite-name>
    此命令将输出测试会话 ID,可用于从完成的测试运行中获取详细日志
  3. 从完成的测试运行中获取详细日志
    bin/magento mftf-buddy:dump-logs <test-session-id> [<output-dir>]