首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Python > Python脚本来生成项目的单元测试和质量检查的“记分卡”

Python脚本来生成项目的单元测试和质量检查的“记分卡”

资 源 简 介

Programming is more fun when you can keep score! PyRate automates the process of: Keeping track of your progress in writing modules Writing and running any combination of unittest and doctest tests Running PyLint to check for code quality and hidden bugs It generates a simple "scorecard.txt" text file (UTF-8 encoding), which displays in tabular form, the progress and quality of the programming project. There are just two files: "pyrate.py" and "pyrate.xml". Both should be placed in the source directory of your project. Paths are configurable in "pyrate.xml", but they default to checking the current directory for source modules and a subdirectory called "test" for unit tests. Assuming that each module has a corresponding unit test "test/test_*.py" (based on unittest) or "test/test_*.txt" b

文 件 列 表

pyrate.py
pyrate.xml
VIP VIP
0.194862s