# truffle-tck 25.6.0-elide.4 > API reference for truffle-tck. Each page below is Markdown; the HTML page of the same name has the same content. llms-full.txt has every page in one file, and api.json is the apidocs/1 model. ## When to use this Use this API reference when you write, read or review code that uses truffle-tck 25.6.0-elide.4. ## Overview - [⬢ truffle-tck](index.md): packages and types - [Alphabetical index](index-all.md): find `Type.member` or search by behavior. Check the declaring type and overload, then follow the matching link. - [Declaration contracts](contracts.ndjson): full structured records for a known `Type.member`, including documented parameters, returns and throws. - [llms-full.txt](llms-full.txt): every page in one file - [api.json](api.json): the apidocs/1 model ## Pages - [▣ Package com.oracle.truffle.tck](com/oracle/truffle/tck/index.md): Contains testing utilities like com.oracle.truffle.tck.DebuggerTester and com.oracle.truffle.tck.TruffleRunner. - [◆ DebuggerTester (class in com.oracle.truffle.tck)](com/oracle/truffle/tck/DebuggerTester.md): Test utility class that makes it easier to test and debug debugger functionality for guest languages. DebuggerTester(): Constructs a new debugger tester instance. DebuggerTester(Context.Builder): Constructs a new debugger tester instance with a pre-set context builder. DebuggerTester(Engine, Context.Builder): Constructs a new debugger tester instance with a pre-set context builder and engine. getErr(): Returns the error output of the underlying context. getOut(): Returns the standard output of the underlying context. getDebugger(): Get the Debugger instance associated with the current engine. startSession(): Starts a new debugger session in the context's engine. Returns: a new debugger session - [◇ DebuggerTester.PositionPredicate (interface in com.oracle.truffle.tck)](com/oracle/truffle/tck/DebuggerTester.PositionPredicate.md): Predicate of testable positions. testLine(int): Whether to test at the line. testLineColumn(int, int): Whether to test at the line and column position. - [◆ TruffleRunner (class in com.oracle.truffle.tck)](com/oracle/truffle/tck/TruffleRunner.md): JUnit test runner for unit testing Truffle AST interpreters. TruffleRunner(Class): Should not be called directly. Throws: InitializationError TruffleRunner(TestClass): Should not be called directly. Throws: InitializationError methodInvoker(FrameworkMethod, Object): Internal method used by the JUnit framework. validateTestMethods(List): Internal method used by the JUnit framework. - [@ TruffleRunner.Inject (annotation interface in com.oracle.truffle.tck)](com/oracle/truffle/tck/TruffleRunner.Inject.md): A parameter annotated with Inject specifies the RootNode of the test AST. value(): Defines the root node of the Truffle tree that should be tested. - [◆ TruffleRunner.ParametersFactory (class in com.oracle.truffle.tck)](com/oracle/truffle/tck/TruffleRunner.ParametersFactory.md): ParametersRunnerFactory for testing Truffle AST interpreters using Parameterized unit tests. ParametersFactory(): Should not be called directly. createRunnerForTestWithParameters(TestWithParameters): Internal method used by the JUnit framework. Throws: InitializationError - [◆ TruffleRunner.RunWithPolyglotRule (class in com.oracle.truffle.tck)](com/oracle/truffle/tck/TruffleRunner.RunWithPolyglotRule.md): JUnit rule to run the tests in the context of a polyglot engine. apply(Statement, Description): Internal method used by the JUnit framework. getPolyglotContext(): Get the current Context. getTruffleTestEnv(): Get an environment to access the polyglot engine using interop. getTestLanguage(): Get an instance of the TruffleLanguage that this test is running under. - [@ TruffleRunner.Warmup (annotation interface in com.oracle.truffle.tck)](com/oracle/truffle/tck/TruffleRunner.Warmup.md): A test method can be annotated with Warmup to specify how many warmup iterations of a test should be done before the Truffle tree is compiled. value(): The number of warmup iterations to run before a test is compiled. - [◆ TruffleTestInvokerTruffleTestInvokerLanguageProvider (class in com.oracle.truffle.tck)](com/oracle/truffle/tck/TruffleTestInvokerTruffleTestInvokerLanguageProvider.md) - [▣ Package com.oracle.truffle.tck.impl](com/oracle/truffle/tck/impl/index.md) - [◆ PolyglotEngineWithJavaScript (class in com.oracle.truffle.tck.impl)](com/oracle/truffle/tck/impl/PolyglotEngineWithJavaScript.md): Tests with code snippets referencing JavaScript (executed only when an implementation of JavaScript is around). - [◆ PolyglotEngineWithJavaScript.Moment (class in com.oracle.truffle.tck.impl)](com/oracle/truffle/tck/impl/PolyglotEngineWithJavaScript.Moment.md) - [◆ PolyglotEngineWithR (class in com.oracle.truffle.tck.impl)](com/oracle/truffle/tck/impl/PolyglotEngineWithR.md): Tests with code snippets in R language (executed only when an implementation of R is around). - [◆ PolyglotEngineWithRuby (class in com.oracle.truffle.tck.impl)](com/oracle/truffle/tck/impl/PolyglotEngineWithRuby.md): Tests with code snippets referencing Ruby (executed only when implementation of Ruby is around). - [◆ TckLanguage (class in com.oracle.truffle.tck.impl)](com/oracle/truffle/tck/impl/TckLanguage.md): parse(TruffleLanguage.ParsingRequest): Throws: Exception - [◆ TckLanguageProvider (class in com.oracle.truffle.tck.impl)](com/oracle/truffle/tck/impl/TckLanguageProvider.md) - [◆ TruffleLanguageRunner (abstract class in com.oracle.truffle.tck.impl)](com/oracle/truffle/tck/impl/TruffleLanguageRunner.md) - [◆ TruffleLanguageRunner.JavaScriptRunner (class in com.oracle.truffle.tck.impl)](com/oracle/truffle/tck/impl/TruffleLanguageRunner.JavaScriptRunner.md): JavaScriptRunner(Class): Throws: InitializationError - [◆ TruffleLanguageRunner.RRunner (class in com.oracle.truffle.tck.impl)](com/oracle/truffle/tck/impl/TruffleLanguageRunner.RRunner.md): RRunner(Class): Throws: InitializationError - [◆ TruffleLanguageRunner.RubyRunner (class in com.oracle.truffle.tck.impl)](com/oracle/truffle/tck/impl/TruffleLanguageRunner.RubyRunner.md): RubyRunner(Class): Throws: InitializationError ## Indexes - [Packages](packages.md): every package with its summary and type counts - [All types](types.md): every type, nested ones too, by name - [Index](index-all.md): every declaration from A to Z