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.8.tar.gz
(56.2 kB
view details)
Built Distribution
File details
Details for the file testtools_cli-0.2.8.tar.gz
.
File metadata
- Download URL: testtools_cli-0.2.8.tar.gz
- Upload date:
- Size: 56.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f24e3eab884f4ddf7577592e97bcf723abddd582237c55882deb224de97afea8 |
|
MD5 | 83a196fdc37da65d13599e0e5d05241e |
|
BLAKE2b-256 | 04a5bc12701b3d5a06e9f0b172d2ed94f9fcbdea232628891070c6670223489b |
Provenance
File details
Details for the file testtools_cli-0.2.8-py3-none-any.whl
.
File metadata
- Download URL: testtools_cli-0.2.8-py3-none-any.whl
- Upload date:
- Size: 25.7 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 | bfdf441938fbd0cc86755fcc62d1ede62fc4708a604014ce826810996c605ba3 |
|
MD5 | 81a091c346b7cf9e948824a31f27e3cf |
|
BLAKE2b-256 | ed6f1e13cba6f976d87f5b16e4425f9c8d612f8aafac18c6856f7aad235ca379 |