BehatParallelExtension
BehatParallelExtension copied to clipboard
Error: No specifications found at path(s) . ... This might be because of incorrect paths configuration in your `suites`.
When i run
vendor/bin/behat -c tests/behavior/behat.yml "$@"
everything works fine.
But when i run
vendor/bin/behat --parallel-feature -c tests/behavior/behat.yml "$@"
i get the following error:
No specifications found at path(s). ... This might be because of incorrect paths configuration in your suites.
My behat.yml:
default:
suites:
default:
filters:
tags: "~@skip"
#@TODO: split motion and newsletter
paths: [features/Motion]
contexts:
- FeatureContext
extensions:
Behat\MinkExtension:
base_url: https://xxx.lan
browser_name: chrome
selenium2:
wd_host: http://browser:4444/wd/hub
capabilities: {
"browser": "chrome",
"version": "*" ,
"acceptSslCerts": true,
"extra_capabilities": {
"acceptInsecureCerts": true,
'chrome': {
args: [
'--disable-dev-shm-usage',
'--window-size=1920,6080',
],
}
}
}
files_path: tests/behavior/dummy/
DMarynicz\BehatParallelExtension\Extension: ~
What you have in your argument "$@" ?
This is the problem:
paths: [features/Motion]
with
paths:
features: '%paths.base%/features/Motion'
it works
What you have in your argument "$@" ?
Good catch but it was empty
Btw. thanks for you work! Tests went down from 20min to 8min.