dotnet/msbuild
Convert tests to use PlatformSpecific attributes
Aberta
#331 aberto em 4 de nov. de 2015
help wantedtestingtriaged
Métricas do repositório
- Stars
- (5.062 estrelas)
- Métricas de merge de PR
- (Métricas PR pendentes)
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.