Skip to content

petarpetrovt/platform-specific

Repository files navigation

Platform specific

C# library for writing platform spesific tests using MSTest or xUnit.

Build Status

Build Status
Linux Build status
Windows Build status

Installation

NuGet
PlatformSpecific NuGet
PlatformSpecific.MSTest NuGet
PlatformSpecific.XUnit NuGet

Examples

MSTest

[PlatformSpecificTestMethod(Platform.Windows)]
public void TestMethod() {}

[PlatformSpecificDataTestMethod(Platform.Linux)]
[DataRow(string.Empty)]
public void DataTestMethod(string value) {}

XUnit

[PlatformSpecificFact(Platform.Windows)]
public void TestMethod() {}

[PlatformSpecificTheory(Platform.Linux)]
[InlineData(string.Empty)]
public void DataTestMethod(string value) {}

Authors

  • Petar Petrov

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

About

C# library for writing platform spesific tests using MSTest or xUnit.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages