TestSolar TestTool CLI
Project description
testtools-cli
testtools命令行工具,主要提供脚手架辅助功能
安装
pip install testtools-cli
如何使用
testtools-cli init
在指定目录(默认当前目录)创建测试工具脚手架内容,当前支持语言:
- python
- golang
使用例子:
testtools-cli init
testtools-cli init --workdir /tmp/jagma
测试工具建议使用小写英文名称。
testtools-cli check
检查指定目录(默认当前目录)的脚手架内容还有哪些要修改的。
开发说明
脚手架内容按照语言统一放到 脚手架目录 下面。模板语言使用Jinja2,只有2条简单规则:
- 文件内容中的
{{name}}
会被替换为输入的工具名称 - 路径中的
{{name}}
会被替换为输入的工具名称
Project details
Release history Release notifications | RSS feed
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.12.tar.gz
(86.6 kB
view details)
Built Distribution
File details
Details for the file testtools_cli-0.2.12.tar.gz
.
File metadata
- Download URL: testtools_cli-0.2.12.tar.gz
- Upload date:
- Size: 86.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 535b8dd1a490b22f84723a88a7d33d0cb5ccf4dd57612f964dbd1a266d210d60 |
|
MD5 | c9ad75fa5f02d6aff6de95997c7b274c |
|
BLAKE2b-256 | b71b929230e3c60ed2cf4e001e6bba5bfb4836ba5c0f3401557a590268164303 |
Provenance
File details
Details for the file testtools_cli-0.2.12-py3-none-any.whl
.
File metadata
- Download URL: testtools_cli-0.2.12-py3-none-any.whl
- Upload date:
- Size: 64.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b0e1abe28a43860a3d602cc45c08711d6a5332b8d362bf48bdb2ddd930610df |
|
MD5 | 779362617b086692e0350f0b61104948 |
|
BLAKE2b-256 | 0b9a47256e37e0ba64104df0d7341ac7ce59d370630b611c193cd40c753a928c |