dotnet / dotnet/msbuild

Convert tests to use PlatformSpecific attributes

Open
#331 0 comments 0 reactions 1 assignee Claimed by @jankratochvilcz View on GitHub
help wanted testing triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 13h
Merged PRs (30d)
133

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

``` C#
if (NativeMethodsShared.IsUnixLike)
{
return;
}
```

where possible.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.