没有合适的资源?快使用搜索试试~ 我知道了~
climactic:基于YAML的命令行实用程序测试框架
共51个文件
py:28个
yml:6个
rst:6个
需积分: 5 0 下载量 113 浏览量
2021-05-10
14:09:45
上传
评论
收藏 56KB ZIP 举报
温馨提示
climactic 测试命令行实用程序 一个简单的测试框架,用于运行Shell命令并验证其行为。 测试以YAML文件的形式编写,这些文件指定要运行的命令以及有关输出的断言(当前为stdout和文件/目录内容)。 它是用Python 3编写的,但是仅使用climactic实用程序和您的测试文件(默认情况下,匹配**/test_*.yml )就可以用于测试任何基于shell的应用程序。 你好,世界! 那么,这实际上是什么样的呢? 我们试图保持简单。 test_hello.yml : --- # A very simple test! - run: > echo Hello world! - assert-output: > Hello world! 运行climactic测试运行器: ~$ climactic test_hello.yml . ------------
资源推荐
资源详情
资源评论
收起资源包目录
climactic-master.zip (51个子文件)
climactic-master
docs
make.bat 7KB
Makefile 7KB
source
whats-new.rst 574B
api.rst 55B
tutorial.rst 3KB
conf.py 6KB
license.rst 15KB
index.rst 490B
tags.rst 60B
pytest.ini 36B
ez_setup.py 11KB
LICENSE 15KB
setup.cfg 96B
requirements.txt 134B
requirements
runtime.txt 16B
extras
pytest.txt 14B
documentation.txt 87B
examples
test_hello.yml 95B
~test_hello.yml 105B
test_write.yml 338B
git
test_init.yml 1KB
~test_venv.yml 192B
test_docstrings.yml 575B
setup.py 3KB
.gitignore 3KB
README.md 6KB
climactic
integrations
pytest.py 2KB
__init__.py 105B
tags
filesystem.py 860B
assertions.py 4KB
processes.py 4KB
metadata.py 443B
__init__.py 542B
case.py 2KB
parser.py 5KB
runner.py 4KB
cli.py 5KB
test
test_utility.py 3KB
conftest.py 349B
test_tag.py 191B
test_parser.py 3KB
__init__.py 68B
test_command.py 683B
plugins
discovery.py 1009B
__init__.py 91B
errors.py 838B
tag.py 3KB
utility.py 2KB
__init__.py 2KB
log.py 4KB
suite.py 2KB
共 51 条
- 1
资源评论
生物医药从业者
- 粉丝: 17
- 资源: 4616
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功