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.9.tar.gz
(84.1 kB
view details)
Built Distribution
File details
Details for the file testtools_cli-0.2.9.tar.gz
.
File metadata
- Download URL: testtools_cli-0.2.9.tar.gz
- Upload date:
- Size: 84.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9114409c0a808070da75a080da5598402c99176196b665abfb610e980af4465d |
|
MD5 | 18d31fc3c3c7d40738a910d62a50ce56 |
|
BLAKE2b-256 | 71f9eb3c82c3c7d9625f5a41f582ea49b20ec98074e3a296cbf7d8d764c26771 |
Provenance
File details
Details for the file testtools_cli-0.2.9-py3-none-any.whl
.
File metadata
- Download URL: testtools_cli-0.2.9-py3-none-any.whl
- Upload date:
- Size: 52.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 864abe4074c057311621ccb0a3b175760d51fd88931edf0ddcd50ac4049a96a3 |
|
MD5 | c50d187b65914a1a01ddf19ad0bfb5ac |
|
BLAKE2b-256 | bd6d3ea63a847bd65f33dd6a77516832009f8b99a7a0341ef51d9f6a41d49c6e |