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

Module Test

Provides common abstractions for different (unit) test frameworks.

Import path

import semmle.code.csharp.frameworks.Test

Imports

NUnit

Provides definitions related to the NUnit test framework.

VisualStudio

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

XUnit

Provides definitions related to the xUnit.net test framework.

csharp

The default C# QL library.

Classes

TestClass

A class containing test cases.

TestFile

A file containing test cases.

TestMethod

A method defining a test case.