Skip to main content

TestSolar TestTool CLI

Project description

testtools-cli

testtools命令行工具,主要提供脚手架辅助功能

安装

pip install testtools-cli

如何使用

testtools-cli init

在指定目录(默认当前目录)创建测试工具脚手架内容,当前支持语言:

  • python

使用例子:

testtools-cli init
testtools-cli init --workdir /tmp/jagma

测试工具建议使用小写英文名称。

testtools-cli check

检查指定目录(默认当前目录)的脚手架内容还有哪些要修改的。

开发说明

脚手架内容按照语言统一放到 脚手架目录 下面。模板语言使用Jinja2,只有2条简单规则:

  • 文件内容中的{{name}}会被替换为输入的工具名称
  • 路径中的{{name}}会被替换为输入的工具名称

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

testtools_cli-0.2.2.tar.gz (13.5 kB view hashes)

Uploaded Source

Built Distribution

testtools_cli-0.2.2-py3-none-any.whl (20.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page