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
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.5.tar.gz
(13.8 kB
view details)
Built Distribution
File details
Details for the file testtools_cli-0.2.5.tar.gz
.
File metadata
- Download URL: testtools_cli-0.2.5.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 802e67153b4b6c683e5a6a89524581fb891f06355fcd086ddaecdf3ec71ee168 |
|
MD5 | 67ebb230f30d7930e261d5a306bd23ca |
|
BLAKE2b-256 | a967b62f9dfc6e8223f5552c792d4d0f1c2bc10576e9f872ee9a86757d825abd |
Provenance
File details
Details for the file testtools_cli-0.2.5-py3-none-any.whl
.
File metadata
- Download URL: testtools_cli-0.2.5-py3-none-any.whl
- Upload date:
- Size: 21.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc3440309b576a7f51e5306a9f8ef26fcdccebeee91e49bb246cdd111110b101 |
|
MD5 | 2ca0c0c9b7cfc0ecb7459b909af2b76b |
|
BLAKE2b-256 | b1f1e3c266242285bd40617b0fb344f4ddec630bcdd98d05405235c3f5b1a001 |