Module Testing
Provides classes for working with JavaScript testing frameworks.
Import path
import semmle.javascript.frameworks.Testing
Imports
TestingCustomizations | |
javascript | Provides classes for working with JavaScript programs, as well as JSON, YAML and HTML. |
Predicates
getTestFile | Gets the test file for |
Classes
AvaTest | An AVA test, that is, an invocation of |
BddTest | A BDD-style test (as used by Mocha.js, Unit.js, Jasmine and others), that is, an invocation of a function named |
CucumberTest | A Cucumber test, that is, an invocation of |
JestTest | A Jest test, that is, an invocation of a global function named |
QUnitTest | A QUnit test, that is, an invocation of |
TapeTest | A tape test, that is, an invocation of |
Test | A syntactic construct that represents a single test. |
XUnitTest | A xUnit.js fact, that is, a function annotated with an xUnit.js |