friends-of-behat / exclude-specifications-extension
允许在Behat测试中排除功能或场景。
v0.3.0
2022-02-07 10:46 UTC
Requires
- php: ^7.4 || ^8.0
- behat/behat: ^3.4
- symfony/dependency-injection: ^5.3 || ^6.0
Requires (Dev)
- friends-of-behat/test-context: ^1.3
- phpspec/phpspec: ^7.0
README
允许在Behat测试中排除功能或场景。
使用说明
-
安装它
$ composer require friends-of-behat/exclude-specifications-extension --dev
-
在您的Behat配置中启用它,并列出需要排除的功能
# behat.yml default: # ... extensions: FriendsOfBehat\ExcludeSpecificationsExtension: features: - vendor/library/features/feature_to_be_skipped.feature - vendor/library/features/another_feature_to_be_skipped.feature
-
这就完成了!🎉 列出的功能将在执行Behat测试时被排除。