예제 #1
0
        public void ResolveOutDirectoryTemplateTest(string template, string id, string expected)
        {
            var dotnetConfig = new DotNetProjectConfiguration(id)
            {
                AppendTargetFrameworkToOutputPath = true,
                TargetFrameworkShortName          = "netcore22"
            };

            var result = dotnetConfig.ResolveOutDirectoryTemplate(template);

            Assert.That(result, Is.EqualTo(expected));
        }