CodeQL library for C#
codeql/csharp-all 3.1.1 (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.