public static string ToPluginTypeString(this SpecFlowPluginType pluginType)
        {
            switch (pluginType)
            {
            case SpecFlowPluginType.Generator | SpecFlowPluginType.Runtime:
                return("GeneratorAndRuntime");

            case SpecFlowPluginType.Generator:
                return("Generator");

            case SpecFlowPluginType.Runtime:
                return("Runtime");

            default:
                throw new ArgumentOutOfRangeException(nameof(pluginType));
            }
        }
Beispiel #2
0
 public SpecFlowPlugin(string name, string path, SpecFlowPluginType type)
 {
     Name = name;
     Path = path;
     Type = type;
 }
Beispiel #3
0
 public SpecFlowPlugin(string name, SpecFlowPluginType type)
 {
     Name = name;
     Type = type;
 }