CodeQL library for Python
codeql/python-all 3.0.1-dev (changelog, source)
Search

Module Make::MakeTest

The module for tests with inline expectations. The test implements the signature to provide the actual results of the query, which are then compared with the expected results in comments to produce a list of failure messages that point out where the actual results differ from the expected results.

Import path

import codeql.util.test.InlineExpectationsTest

Predicates

getAMatchingExpectation

Gets a test expectation that matches the actual result at the given location.

testFailures

Classes

Parameters

TestImplTestSig