资 源 简 介
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