dotnet/msbuild

Convert tests to use PlatformSpecific attributes

Open

#331 创建于 2015年11月4日

在 GitHub 查看
 (0 评论) (0 反应) (1 负责人)C# (1,364 fork)batch import
help wantedtestingtriaged

仓库指标

Star
 (5,062 star)
PR 合并指标
 (平均合并 11天 7小时) (30 天内合并 125 个 PR)

描述

After adopting xunit.netcore.extensions, we have a nice way to specify that tests are platform-specific, with the [PlatformSpecific] attribute. We should adopt that everywhere and avoid using early-returns like

            if (NativeMethodsShared.IsUnixLike)
            {
                return;
            }

where possible.

贡献者指南