testing.TestCollector

class in the testing package.

Reference version

Signature

class testing.TestCollector

Source:<builtin>/testing/registry.bamlbytes 6234198

Fields

Static methods

function

new

(prefix: string) -> testing.TestCollector

Instance methods

function

register_test_at

(
self,
owner: string,
name: string,
runner: testing.TestRunner | null
) -> void throws testing.InvalidTestName

Compiler-only top-level registration entry points. The owner is derived from the declaring file (root plus its BAML namespaces); nested items use the ordinary methods above and inherit this canonical prefix.