![]() ![]() ![]() A list of line numbers of statements not run (missing from.A list of line numbers of excluded statements.A list of line numbers of executable statements.Like analysis2 but doesn’t return excluded line numbers. Include will be measured, files that match omit will not. Include and omit are lists of filename patterns. In the trees indicated by the file paths or package names will be Source is a list of file paths or package names. It is the name of the config file to read. If branch is true, then branch coverage will be measured in additionĬonfig_file determines what config file to read. Tracing functions breaks the faster trace function. This is important for some environments where manipulation of If timid is true, then a slower and simpler trace function will be If auto_data is true, then any existing data file will be read whenĬoverage measurement starts, and data will be saved automatically when Standard library and any packages installed with the interpreter. Suffix is created with the machine and process identity included.Ĭover_pylib is a boolean determining whether Python code installed data_suffix is appended (with a dot) to data_file toĬreate the final file name. html_report ( directory = 'covhtml' )ĭata_file is the base name of the data file to use, defaulting to From coverage import coverage cov = coverage () cov. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |