bagisto-pest-testing

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Pest Testing in Bagisto

Bagisto中的Pest测试

When to Apply

适用场景

Activate this skill when:
  • Creating new tests (unit or feature)
  • Modifying existing tests
  • Debugging test failures
  • Working with datasets, mocking, or test organization
  • Writing architecture tests
  • Testing Bagisto packages (Admin, Shop, Core, etc.)
在以下场景启用此技能:
  • 创建新测试(单元测试或功能测试)
  • 修改现有测试
  • 调试测试失败问题
  • 处理数据集、模拟或测试组织工作
  • 编写架构测试
  • 测试Bagisto包(Admin、Shop、Core等)

Reference files — load only what the current task needs

参考文件——仅加载当前任务所需的文件

FileLoad when
suite-layout.mdWhere tests live, the suites, Pest.php bindings, autoload wiring
writing-tests.mdRunning tests, test structure, assertions, mocking, datasets, architecture tests
new-package.mdRegistering a new package's tests, pitfalls, best practices
REQUIRED SUB-SKILL: Use bagisto-change-verification before calling any change done.
文件加载时机
suite-layout.md了解测试存放位置、测试套件、Pest.php绑定、自动加载配置时
writing-tests.md运行测试、测试结构、断言、模拟、数据集、架构测试相关操作时
new-package.md注册新包的测试、规避陷阱、遵循最佳实践时
必备子技能: 在完成任何更改前,请使用bagisto-change-verification技能。