.TH PY2TESTS 1 "February 25, 2002" python-reverse "User's Manual" .SH NAME py2tests \- parse python sources files and generates unit tests. them. .SH SYNOPSIS .B py2tests [ .I options .B ] .I package .SH DESCRIPTION .B py2tests is a python source analyzer. It can parse a python package and produce a set of unit tests. .SH OPTIONS .IP "-h, --help" show help message and exit .IP "-q, --quiet" run quietly .IP "--version" show version number and exit .IP "-p, --project=" set project name to .IP "-i, --ignore=" add (may be a directory) to the black list (not parsed) .IP "-f, --filter-mode=" filter attributes and functions according to . You can combine multiple mode using '+'. Correct modes are : 'ALL' no filter (default) 'PUB_ONLY' filter all non public attributes 'SPECIAL' filter Python special functions except constructor 'SPECIAL_A' filter Python special functions and constructor 'PRIVATE' filter protected and private attributes .IP "--backup-files=" rename existing files with a ~ suffix. .IP "--test-dir=" put generated test files in . .IP "--header-file=" insert commented content of in each tests file generated (for instance, licence). .SH REQUIRES Python .SH "SEE ALSO" .B pyargo(1), pystats(1), pyvcg(1), py2xmi(1) .I http://www.logilab.org/pyreverse .SH AUTHOR Sylvain Thénault This manpage was written by Sylvain Thénault .