dotnet/msbuild

Convert tests to use PlatformSpecific attributes

Open

#331 opened on 2015年11月4日

GitHub で見る
 (0 comments) (0 reactions) (1 assignee)C# (1,364 forks)batch import
help wantedtestingtriaged

Repository metrics

Stars
 (5,062 stars)
PR merge metrics
 (平均マージ 11d 7h) (30d で 125 merged PRs)

説明

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.

コントリビューターガイド