Skip to content

hanzhichao/runnerz

Repository files navigation

Runnerz

simple runner like robot framework and httprunner

相比于httprunner

  • 支持多种步骤,及自定义步骤
  • 支持dubbo接口
  • 用例支持多种步骤
  • 支持多种样式的报告,及自定义报告模板 reportz
  • 支持用例并发
  • 支持异步请求 aiohttp
  • 用例支持tag, level
  • 支持xpath
  • 支持trigger及设置定时任务 pytest-crontab
  • 支持更相信的请求连接信息 requestz
  • 支持json_schema断言
  • 支持直接使用python/js脚本
  • 支持参数化运行 cli / html
  • 支持自定义keywords

支持的场景

  • 接口测试
  • Web/App测试
  • Dubbo接口测试
  • 定时任务

特性

  • HTTP默认配置
  • 用户自定义变量
  • 环境变量
  • .env支持
  • 并发及多轮
  • setup_hook/teardown_hook
  • eq断言
  • jsonschema断言
  • xpath/jsonpath/re提取
  • css selector提取
  • 根据条件跳过用例, skip表达式
  • merge config
  • 多级steps
  • 支持ddt
  • 支持if/else/switch/while
  • args
  • options
  • add options ini
  • trigger
  • unittest用例
  • har
  • 运行postman
  • 运行jmeter
  • 运行robot
  • dubbo支持
  • [x]自定义keywords

由reportz支持

  • 重跑
  • 步骤组并行运行
  • 测试报告
  • timeout限制

Todo

About

simple runner like httprunner

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published