测试

本文档适用于作为 Neo4j Labs 一部分的不受支持的 NeoDash 版本。对于受支持的 NeoDash 服务的用户,请参阅 NeoDash 商业版

NeoDash 使用 Cypress 进行自动化测试。要安装 Cypress,请查看官方安装说明

安装 Cypress 后,您可以使用

yarn run test

打开 Cypress GUI。或者,使用

yarn run test-headless

从 UI 运行 Cypress。

开始测试前,请确保您已使用 yarn run devhttp://localhost:3000 运行本地 NeoDash 实例。

Cypress 上图:Cypress GUI 的屏幕截图。

调试报告

为了进行临时测试,NeoDash 可以生成调试报告。此报告包含 NeoDash 应用程序当前状态的 JSON 表示。

要生成调试报告,请打开“关于”屏幕。然后,点击左下角的“调试报告”按钮。

About
© . All rights reserved.