CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.13 (changelog, source)
Search

Module xUnit

Provides classes for working with xUnit.js tests.

Import path

import semmle.javascript.frameworks.xUnit

Imports

javascript

Provides classes for working with JavaScript programs, as well as JSON, YAML and HTML.

Classes

XUnitAnnotation

An xUnit.js annotation, such as [Fixture] or [Data(23)] annotating a target declaration or definition.

XUnitAttribute

An xUnit.js attribute appearing in an annotation.

XUnitFact

An xUnit.js fact.

XUnitFactAnnotation

An xUnit.js Fact annotation.

XUnitFixture

An xUnit.js fixture.

XUnitFixtureAnnotation

An xUnit.js Fixture annotation.

XUnitTarget

A declaration or definition that can serve as the target of an xUnit.js annotation: a function declaration, a variable declaration, or an assignment.