Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>guardian-extensionNew to Visual Studio Code? Get it now.
guardian-extension

guardian-extension

souche

|
11,968 installs
| (0) | Free
dasouche-VSCode插件
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

guardian-extension

注意(Note)

”guardian extension“ 为企业内部版本,含有部分私有定制,涉及实时抓取操作记录,请谨慎使用!用于配合企业内部guardian框架的vscode插件

**"guardian extension" is an internal version of the enterprise, with some private customizations. **

依赖

  • mac: ~/.venv 根目录下有.venv的python3虚拟环境
  • windows: %USERPROFILE%/.venv 根目录下有.venv的python3虚拟环境

功能

  • 自动联想soucheKeywords的关键字。
  • 关键字定义跳转:cmd + 关键字。
  • 右键增加SSMT转关键字。
  • 右键增加Swagger转关键字。
  • 右键增加生成选中校验用例关键字。
  • 右键增加生成校验用例关键字。
  • 右键批量执行rf测试用例。默认为根目录下的.venv虚拟环境,也可手动配置robot执行文件地址,项目根目录 --> .vscode --> settings.json 新增设置如下: { "guardian.robot_exec": "~/.venv/bin/robot", "guardian.variablefile": "./config/settings.yaml" } 其中:variablefile为rf脚本的参数变量文件地址;robot_exec为robot执行文件地址
  • 右键执行所选tag的rf测试用例(手动配置方法同上)。
  • 右键执行鼠标所选测试用例用例(手动配置方法同上)。
  • 右键FormatRobot自动调整robot脚本格式。项目根目录 --> .vscode --> config.json 新增设置,默认space为0,如下: { "space": 32 }
  • 右键json字符串转csv文件,必须满足两个条件:1.文件类型为 .yaml/ .json/ .py;2.json字符串格式如下: [ { "车car": "Audi", "价格": 40000, "color": "blue", "comment": "" }, { "车car": "BMW", "价格": 35000, "color": "black", "comment": "example" } ]
  • 右键在执行行内插入rf代码模版
  • 新增右键执行目录下测试用例功能

下载

在 vscode 插件市场中搜索 guardian-extension 并进行下载

使用场景

  • 在 vscode robot脚本关键字联想。
  • 在 vscode 查看robot关键字定义。
  • 在 vscode 执行robot脚本。
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft