1. 首页
  2. 考试认证
  3. 其它
  4. Gen 测试WebSocket和RESTful服务流程指南

Gen 测试WebSocket和RESTful服务流程指南

上传者: 2024-10-25 22:18:47上传 ZIP文件 77.49KB 热度 7次

基因测试 Web SocketRESTful Web 服务设置

  1. 进入项目源代码目录:

```bash

cd src && npm install

```

  1. 启动项目:

```bash

npm start

```

  1. 运行测试:

```bash

npm test

```

  1. 生成文档:

```bash

cd src && YUIDoc .

```

  1. 查看网站:

  2. Website: http://localhost:8080

  3. Tests: http://localhost:8080/test.html

  4. Documentation: 进入文档目录并打开文档:

```bash

cd docs/api && open ./index.html

```

下载地址
用户评论