Skip to content

Instantly share code, notes, and snippets.

View mwadams's full-sized avatar

Matthew Adams mwadams

View GitHub Profile
@mwadams
mwadams / app.config
Created March 8, 2018 10:06
Configure specflow for XUnit
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="specFlow" type="TechTalk.SpecFlow.Configuration.ConfigurationSectionHandler, TechTalk.SpecFlow"/>
</configSections>
<specFlow>
<language feature="en-US" />
<unitTestProvider name="xUnit" />
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.Extensions.DependencyInjection;
namespace DITest
{
public static class ServiceCollectionCheckerExtensions
{