dotnet/msbuild

Convert tests to use PlatformSpecific attributes

Open

#331 aberto em 4 de nov. de 2015

Ver no GitHub
 (0 comments) (0 reactions) (1 assignee)C# (1.364 forks)batch import
help wantedtestingtriaged

Métricas do repositório

Stars
 (5.062 stars)
Métricas de merge de PR
 (Mesclagem média 11d 7h) (125 fundiu PRs em 30d)

Description

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.

Guia do colaborador