Exemplo n.º 1
0
        static TestFramework()
        {
            var builder = ImmutableArray.CreateBuilder <TestFramework>();

            var nunit  = new NUnitTestFramework();
            var xunit  = new XunitTestFramework();
            var mstest = new MSTestFramework();

            builder.Add(nunit);
            builder.Add(xunit);
            builder.Add(mstest);

            Frameworks = builder.ToImmutable();
        }
Exemplo n.º 2
0
        static TestFramework()
        {
            var builder = ImmutableDictionary.CreateBuilder <string, TestFramework>();

            var nunit  = new NUnitTestFramework();
            var xunit  = new XunitTestFramework();
            var mstest = new MSTestFramework();

            builder.Add(nunit.Name, nunit);
            builder.Add(xunit.Name, xunit);
            builder.Add(mstest.Name, mstest);

            s_frameworks = builder.ToImmutable();
        }