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.

貢獻者指南