CodeQL library for C#
codeql/csharp-all 2.0.1-dev (changelog, source)
Search

Module VisualStudio

Provides definitions related to the Microsoft Visual Studio Unit Testing Framework.

Import path

import semmle.code.csharp.frameworks.test.VisualStudio

Imports

Test

Provides common abstractions for different (unit) test frameworks.

csharp

The default C# QL library.

Classes

AssertFailedExceptionClass

The Microsoft.VisualStudio.TestTools.UnitTesting.AssertFailedException class.

VSTestAssertClass

The Microsoft.VisualStudio.TestTools.UnitTesting.Assert class.

VSTestClass

A class that contains test methods.

VSTestFile

A file that contains some Visual Studio Unit Testing Framework annotations and is, hence, a test file.

VSTestMethod

A Visual Studio test method.

VSTestNamespace

The Microsoft.VisualStudio.TestTools.UnitTesting namespace.