dotnet/msbuild

Convert tests to use PlatformSpecific attributes

Open

#331 ouverte le 4 nov. 2015

Voir sur GitHub
 (0 commentaires) (0 réactions) (1 assigné)C# (1 364 forks)batch import
help wantedtestingtriaged

Métriques du dépôt

Stars
 (5 062 stars)
Métriques de merge PR
 (Merge moyen 11j 7h) (125 PRs mergées en 30 j)

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.

Guide contributeur