OperatingSystems Enum

Definition

An enum that is used with OSConditionAttribute to control which operating systems a test method or test class supports or doesn't support.

This enumeration supports a bitwise combination of its member values.

C#
[System.Flags]
public enum OperatingSystems
Inheritance
OperatingSystems
Attributes

Fields

Name Value Description
Linux 1

Represents the Linux operating system.

OSX 2

Representing the MacOS operating system.

Windows 4

Represents the Windows operating system.

FreeBSD 8

Represents the FreeBSD operating system.

Applies to

Proizvod Verzije
MSTest.TestFramework 3.8.0