企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持知识库和私有化部署方案 广告
# @test 除了用 `test` 作为测试方法名称的前缀外,还可以在方法的文档注释块中用 `@test` 标注来将其标记为测试方法。 ~~~ /** * @test */ public function initialBalanceShouldBe0() { $this->assertEquals(0, $this->ba->getBalance()); } ~~~