FriendsOfBehat / Servicecontainerextension
Licence: mit
📻 Allows to declare own services inside Behat container without writing an extension.
Stars: ✭ 114
Projects that are alternatives of or similar to Servicecontainerextension
Variadicextension
🍺 Extension adding variadic arguments support to Behat steps definitions
Stars: ✭ 194 (+70.18%)
Mutual labels: gherkin, behat
Bicing Api
Get statistics and locations of bicycle stations through REST API
Stars: ✭ 149 (+30.7%)
Mutual labels: gherkin, behat
Gherkin
Gherkin parser, written in PHP 5.3+ for Behat project
Stars: ✭ 924 (+710.53%)
Mutual labels: gherkin, behat
Suitesettingsextension
📎 Allows to overwrite suites' default settings.
Stars: ✭ 182 (+59.65%)
Mutual labels: gherkin, behat
Symfonyextension
🎼 Extension integrating Behat with Symfony.
Stars: ✭ 376 (+229.82%)
Mutual labels: gherkin, behat
Contextserviceextension
🎃 [DEPRECATED] Allows to declare and use contexts services in scenario scoped container.
Stars: ✭ 113 (-0.88%)
Mutual labels: dependency-injection, behat
Autofac.extensions.dependencyinjection
Autofac implementation of the interfaces in Microsoft.Extensions.DependencyInjection.Abstractions, the .NET Core dependency injection abstraction.
Stars: ✭ 98 (-14.04%)
Mutual labels: dependency-injection
Swiftdi
SwiftDI the new way to use your dependency in Swift 5.1
Stars: ✭ 107 (-6.14%)
Mutual labels: dependency-injection
Crosscontainerextension
⚔️ [DEPRECATED] Makes possible to inject services and parameters from other containers.
Stars: ✭ 97 (-14.91%)
Mutual labels: behat
Behat Api Extension
API extension for Behat, used to ease testing of JSON-based APIs
Stars: ✭ 92 (-19.3%)
Mutual labels: behat
Momentum
MVC pattern for flutter. Works as state management, dependency injection and service locator.
Stars: ✭ 99 (-13.16%)
Mutual labels: dependency-injection
Rxgithub
An example of MVVM using RxSwift and Swinject (DI)
Stars: ✭ 109 (-4.39%)
Mutual labels: dependency-injection
Agentframework
An elegant & efficient TypeScript metaprogramming API to build software agents
Stars: ✭ 97 (-14.91%)
Mutual labels: dependency-injection
Fierycrucible
A minimalist type safe Swift dependency injection library
Stars: ✭ 112 (-1.75%)
Mutual labels: dependency-injection
Bootique
Bootique is a minimally opinionated platform for modern runnable Java apps.
Stars: ✭ 1,326 (+1063.16%)
Mutual labels: dependency-injection
Ript
Ript provides a clean Ruby DSL for describing firewall rules, and implements database migrations-like functionality for applying the rules
Stars: ✭ 113 (-0.88%)
Mutual labels: gherkin
Wpplugin
Boilerplate for WordPress plugin using autoload, coding standard, webpack, PHP/JS tests, etc.
Stars: ✭ 112 (-1.75%)
Mutual labels: dependency-injection
Service Container Extension
Allows to declare own services inside Behat container without writing an extension.
Usage
-
Install it:
$ composer require friends-of-behat/service-container-extension --dev
-
Enable this extension and configure Behat to use it:
# behat.yml default: # ... extensions: FriendsOfBehat\ServiceContainerExtension: imports: - "features/bootstrap/config/services.xml" - "features/bootstrap/config/services.yml" - "features/bootstrap/config/services.php"
-
Write services files definitions:
<!-- features/bootstrap/config/services.xml --> <?xml version="1.0" encoding="UTF-8" ?> <container xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://symfony.com/schema/dic/services"> <services> <service id="acme.my_service" class="Acme\MyService" /> </services> </container>
# features/bootstrap/config/services.yml services: acme.my_service: class: Acme\MyService
// features/bootstrap/config/services.php use Symfony\Component\DependencyInjection\Definition; $container->setDefinition('acme.my_service', new Definition(\Acme\MyService::class));
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].