All Projects β†’ solidtoken β†’ SpecFlow.DependencyInjection

solidtoken / SpecFlow.DependencyInjection

Licence: BSD-3-Clause license
SpecFlow plugin that enables to use Microsoft.Extensions.DependencyInjection for resolving test dependencies.

Programming Languages

C#
18002 projects
Gherkin
971 projects

Projects that are alternatives of or similar to SpecFlow.DependencyInjection

powerapps-specflow-bindings
A SpecFlow bindings library for model-driven Power Apps.
Stars: ✭ 19 (-9.52%)
Mutual labels:  microsoft, specflow
wizard
🍳Wizardoc is a WEBAPP for managing documents and knowledge.
Stars: ✭ 57 (+171.43%)
Mutual labels:  di
BingMapsSDSToolkit
This toolkit makes it easy to use the Bing Maps Spatial Data Services (SDS) in .NET
Stars: ✭ 39 (+85.71%)
Mutual labels:  microsoft
Windows-911
Curated list of FREE emergency resources when you find yourself in the inevitable pickle with Windows. PRs welcome!
Stars: ✭ 24 (+14.29%)
Mutual labels:  microsoft
xp
πŸ’» Windows XP All Editions Universal Product Keys Collection
Stars: ✭ 247 (+1076.19%)
Mutual labels:  microsoft
Learn-LTI
Access the Microsoft Learn http://docs.microsoft.com/learn Catalog of Learning Paths and Modules directly from your Learning Management Systems using the Microsoft Learn LTI application
Stars: ✭ 97 (+361.9%)
Mutual labels:  microsoft
ferrisetw
Basically a KrabsETW rip-off written in Rust
Stars: ✭ 22 (+4.76%)
Mutual labels:  microsoft
definject
Unobtrusive Dependency Injector for Elixir
Stars: ✭ 46 (+119.05%)
Mutual labels:  di
Socks5
A full-fledged high-performance socks5 proxy server written in C#. Plugin support included.
Stars: ✭ 331 (+1476.19%)
Mutual labels:  microsoft
react-microsoft-login
Microsoft services authorization with React.
Stars: ✭ 65 (+209.52%)
Mutual labels:  microsoft
interview-prep
🀼 An aggregate of technical interview questions and testimonies.
Stars: ✭ 17 (-19.05%)
Mutual labels:  microsoft
kekiri
A .NET framework that supports writing low-ceremony BDD tests using Gherkin language
Stars: ✭ 19 (-9.52%)
Mutual labels:  specflow
BlazorQuiz
Simple quiz using Blazor.NET and Webassembly
Stars: ✭ 42 (+100%)
Mutual labels:  microsoft
powerquery-parser
A parser for the Power Query / M formula language, written in TypeScript
Stars: ✭ 79 (+276.19%)
Mutual labels:  microsoft
Cloud-PAW-Management
Simplify PAW and SPA for the masses, unify the MS Internal, and public PAW specs, and expedite deployment to ~5min or less.
Stars: ✭ 45 (+114.29%)
Mutual labels:  microsoft
libemf2svg
Microsoft (MS) EMF to SVG conversion library
Stars: ✭ 75 (+257.14%)
Mutual labels:  microsoft
extensions-dependency-injection
Microsoft Extensions DependencyInjection for WCF, and asp.net classic projects
Stars: ✭ 18 (-14.29%)
Mutual labels:  microsoft
edge-contextMenuSearch
Extension for MS Edge browser to provide search option in context menu for selected text
Stars: ✭ 13 (-38.1%)
Mutual labels:  microsoft
ISOKIT
Windows 10 Professional - Full Strip & Lockdown Edition
Stars: ✭ 35 (+66.67%)
Mutual labels:  microsoft
Cliptok
Moderation Discord bot for Microsoft Community.
Stars: ✭ 52 (+147.62%)
Mutual labels:  microsoft

SpecFlow.DependencyInjection

GitHub License GitHub Issues Azure Build NuGet Package

SpecFlow plugin that enables to use Microsoft.Extensions.DependencyInjection for resolving test dependencies.

Currently supports:

Based on SpecFlow.Autofac. Listed on Available Plugins for SpecFlow.

Usage

Install plugin from NuGet into your SpecFlow project.

PM> Install-Package SolidToken.SpecFlow.DependencyInjection

Create a static method in your SpecFlow project that returns a Microsoft.Extensions.DependencyInjection.IServiceCollection and tag it with the [ScenarioDependencies] attribute. Configure your test dependencies for the scenario execution within this method. Step definition classes (i.e. classes with the SpecFlow [Binding] attribute) are automatically added to the service collection.

A typical dependency builder method looks like this:

[ScenarioDependencies]
public static IServiceCollection CreateServices()
{
    var services = new ServiceCollection();
    
    // TODO: add your test dependencies here

    return services;
}

Refer to SpecFlow.DependencyInjection.Tests for an example.

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].