This repository has been archived by the owner on Apr 20, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 203
Only use SystemContext #148
Comments
It’s just a service declaration. If you don’t load a class needs it, no instance is created. |
I should have begin by that My composer file: {
"name": "my/project",
"type": "project",
"require": {
"php": ">=5.4"
},
"require-dev": {
"behatch/contexts": "^2.3"
}
} My Behat configuration: default:
suites:
core:
paths:
- %paths.base%/features
contexts:
- FeatureContext
- behatch:system:
root: "."
extensions:
Sanpi\Behatch\Extension: ~ # vendor/bin/behat
[Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException]
The service "behatch.http_call.listener" has a dependency on a non-existent service "mink". |
Fool I am default:
suites:
core:
paths:
- %paths.base%/features
contexts:
- FeatureContext
- Sanpi\Behatch\Context\SystemContext is working |
Ok, we can load the |
Sure. For now, only It would be great to split |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
To test command lines tool, I do not need http_call services required in
Extension::load
method.Do you think it is a good idea to add a parameter to allow to skip
http_call
loading?PR is coming if so.
The text was updated successfully, but these errors were encountered: