类:TestContext


【Class: TestContext

每个测试函数都会传入一个 TestContext 实例,以便与测试运行器进行交互。然而,TestContext 构造函数并未作为 API 的一部分公开。

【An instance of TestContext is passed to each test function in order to interact with the test runner. However, the TestContext constructor is not exposed as part of the API.】