Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.473.337 Times

pytest-cov 1.1

Company: Meme Dough
Date Added: October 03, 2013  |  Visits: 263

pytest-cov

Report Broken Link
Printer Friendly Version


Product Homepage
Download (46 downloads)



pytest-cov is a plugin that supports pytest's distributed testing feature in both load and each modes. Of course it also support centralised testing.<br /><br />It supports pretty much all features offered by the coverage package.<br /><br />Each test run with coverage activated may produce any combination of the four report types. There is the terminal report output by pytest, annotated source code, HTML and XML reports.<br /><br />#md5=1c09cb7d7e8f2042984911f7c19419c5<br /><br />Installation<br /><br />This plugin depends on features just added to py and pytest-xdist. Until py 1.2.2 and pytest-xdist 1.2 are released you will need to install the 'tip' development versions from:<br /><br />http://bitbucket.org/hpk42/py-trunk/downloads/<br /><br />http://bitbucket.org/hpk42/pytest-xdist/downloads/<br /><br />Usage<br /><br />Running centralised testing:<br /><br />py.test --cov myproj tests/<br /><br />Shows a terminal report:<br /><br />-------------------- coverage: platform linux2, python 2.6.4-final-0 ---------------------<br />Name Stmts Exec Cover Missing<br />--------------------------------------------------<br />myproj/__init__ 2 2 100%<br />myproj/myproj 257 244 94% 24-26, 99, 149, 233-236, 297-298, 369-370<br />myproj/feature4286 94 87 92% 183-188, 197<br />--------------------------------------------------<br />TOTAL 353 333 94%<br /><br />Distributed testing with dist mode set to load and branch coverage enabled:<br /><br />py.test -n 2 --cov myproj --cov-branch tests/<br /><br />The results from the slaves will be combined like so:<br /><br />-------------------- coverage: platform linux2, python 2.6.4-final-0 ---------------------<br />Name Stmts Exec Branch BrExec Cover Missing<br />----------------------------------------------------------------<br />myproj/__init__ 2 2 0 0 100%<br />myproj/myproj 257 244 56 50 93% 24-26, 99, 149, 233-236, 297-298, 369-370<br />myproj/feature4286 94 87 18 13 89% 183-188, 197<br />----------------------------------------------------------------<br />TOTAL 353 333 74 63 92%<br /><br />Distributed testing in each mode:<br /><br />py.test --cov myproj --dist=each<br /> --tx=popen//python=/usr/local/python264/bin/python<br /> --tx=popen//python=/usr/local/python265/bin/python<br /> tests/<br /><br />Will produce a report for each slave:<br /><br />-------------------- coverage: platform linux2, python 2.6.4-final-0 ---------------------<br />Name Stmts Exec Cover Missing<br />--------------------------------------------------<br />myproj/__init__ 2 2 100%<br />myproj/myproj 257 244 94% 24-26, 99, 149, 233-236, 297-298, 369-370<br />myproj/feature4286 94 87 92% 183-188, 197<br />--------------------------------------------------<br />TOTAL 353 333 94%<br />-------------------- coverage: platform linux2, python 2.6.5-final-0 ---------------------<br />Name Stmts Exec Cover Missing<br />--------------------------------------------------<br />myproj/__init__ 2 2 100%<br />myproj/myproj 257 244 94% 24-26, 99, 149, 233-236, 297-298, 369-370<br />myproj/feature4286 94 87 92% 183-188, 197<br />--------------------------------------------------<br />TOTAL 353 333 94%<br /><br />If desired distributed testing in each mode can instead produce a single combined report:<br /><br />py.test --cov myproj --cov-combine-each --dist=each<br /> --tx=popen//python=/usr/local/python264/bin/python<br /> --tx=popen//python=/usr/local/python265/bin/python<br /> tests/<br /><br />Which looks like:<br /><br />---------------------------------------- coverage ----------------------------------------<br /> platform linux2, python 2.6.4-final-0<br /> platform linux2, python 2.6.5-final-0<br />Name Stmts Exec Cover Missing<br />--------------------------------------------------<br />myproj/__init__ 2 2 100%<br />myproj/myproj 257 244 94% 24-26, 99, 149, 233-236, 297-298, 369-370<br />myproj/feature4286 94 87 92% 183-188, 197<br />--------------------------------------------------<br />TOTAL 353 333 94%<br /><br />#md5=28fb29184597f72cf3ca0e37009376f1

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Combined Cover Coverage Dpopenpython Dusrlocalpython Binpython Final Linux Missingmyproj Init Myproj Myprojfeature Myprojmyproj Platform Produce Python Report Stmts Testing Total
Users rating: 0/10

License: Freeware Size: 10.24 KB
USER REVIEWS
More Reviews or Write Review


PYTEST-COV RELATED
Audio Tools  -  MusicBrainz Picard for Mac and Linux 0.15.1
MusicBrainz Picard is a cross-platform (Linux/Mac OS X/Windows) application written in Python and is the official MusicBrainz tagger. Picard supports the majority of audio file formats, is capable of using audio fingerprints (PUIDs), performing...
1024 KB  
Utilities  -  PeeWeeLinux 0.61.1
PeeWeeLinux is an ongoing development effort to provide an environment that makes the configuration and installation of a Linux operating system on an embedded platform as easy and painless as possible..
175 MB  
Stock & Portfolio Tools  -  Trend System LX 1.1
Trend System LX is a tool for running any trading software independently of its OS under Windows, Linux and Mac OS. It lets you fuse Windows, Java and Linux trading applications into one trading platform and executes that under Linux, Mac OS,...
33.04 KB  
Audio Tools  -  MusicBrainz Picard 0.15.1
MusicBrainz Picard is a cross-platform (Linux/Mac OS X/Windows) application written in Python and is the official MusicBrainz tagger. Picard supports the majority of audio file formats, is capable of using audio fingerprints (PUIDs), performing...
8.9 MB  
Multimedia & Graphics  -  mocha for Final Cut for Mac OS 2.0
A stand alone 2D tracking and rotoscoping tool designed for the Final Cut Studio community. It is packed with features that help editors and VFX artists tackle more complex jobs and enable them to finish projects within Final Cut. - Tracking:...
29.5 MB  
Utilities  -  Openwall GNU/*/Linux 2.0
Openwall GNU/*/Linux (or Owl for short) is a security-enhanced operating system with Linux and GNU software as its core, compatible with other major distributions of GNU/*/Linux. Openwall GNU/*/Linux is intended as a server platform. And, of...
407.7 MB  
Utilities  -  KANOTIX 64 2005-04 LITE Final
KANOTIX 64 is a Linux live CD based on Knoppix technology using Debian/sid for 64-bit architecture. The included XFree86 is from Debian/experimental. The main specs are: GRUB based startup from CD, ACPI support, DMA default on, additional...
537 MB  
Utilities  -  KANOTIX LITE 2005-04 Final
This is a Linux Live CD based on KNOPPIX technology using mostly pure Debian/sid. Most tools follow the GNU GENERAL PUBLIC LICENSE. If you are in doubt, look at the specific docs.. GNU Linux Live system based on Debian, optimized for HD-install...
551 MB  
Utilities  -  linux-metrics 0.1.2
linux-metrics is a Python package containing modules for getting OS metrics on systems running the Linux (2.6) kernel. It is a pure python library with no external dependencies. This project is under development, and nowhere near...
10.24 KB  
Games  -  Final Vision 1.0
All fans of retro-style games are welcome. With this game you can enter the golden age of videogaming and enjoy sensations that were thought to be lost forever.Final Vision is a role-playing and platform game with a retro style that reminds you of...
1024 B  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB