dotnet/msbuild

Convert tests to use PlatformSpecific attributes

Open

#331 opened on 2015年11月4日

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

説明

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.

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