Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (22 sloc) 691 Bytes
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SpecFlow.FsCheck;
using TechTalk.SpecFlow;
using TechTalk.SpecFlow.Plugins;
[assembly: RuntimePlugin(typeof(FsCheckPlugin))]
namespace SpecFlow.FsCheck
{
public class FsCheckPlugin : IRuntimePlugin
{
public void Initialize(RuntimePluginEvents runtimePluginEvents, RuntimePluginParameters runtimePluginParameters)
{
runtimePluginEvents.CustomizeTestThreadDependencies += (sender, args) =>
{
args.ObjectContainer.RegisterTypeAs<PropertyBasedTestRunner, ITestRunner>();
};
}
}
}