测试
本文档适用于作为 Neo4j Labs 一部分的不受支持的 NeoDash 版本。对于受支持的 NeoDash 服务的用户,请参阅 NeoDash 商业版。 |
NeoDash 使用 Cypress 进行自动化测试。要安装 Cypress,请查看官方安装说明。
安装 Cypress 后,您可以使用
yarn run test
打开 Cypress GUI。或者,使用
yarn run test-headless
从 UI 运行 Cypress。
开始测试前,请确保您已使用 yarn run dev
在 http://localhost:3000
运行本地 NeoDash 实例。
上图:Cypress GUI 的屏幕截图。