Skip to main content

test_cover

https://img.shields.io/pypi/v/test_cover.svg https://img.shields.io/travis/usalko/test_cover.svg

HtmlTest runner is a unittest test runner that save test results in Html files, for human readable presentation of results.

This Package is a fork html-testRunner.

Usage:

import test_cover
import unittest


class TestStringMethods(unittest.TestCase):

    def test_upper(self):
        self.assertEqual('foo'.upper(), 'FOO')

    def test_error(self):
        """ This test should be marked as error one. """
        raise ValueError

    def test_fail(self):
        """ This test should fail. """
        self.assertEqual(1, 2)

    @unittest.skip("This is a skipped test.")
    def test_skip(self):
        """ This test should be skipped. """
        pass

if __name__ == '__main__':
    unittest.main(testRunner=test_cover.HtmlTestRunner(output='example_dir'))

As simple as import the class an initialize it, it only have one request parameter that is output, this one is use to place the report in a sub direcotry in reports directory.

Metadata

Release files for test-cover 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for test-cover 0.1.0
File Size Uploaded Provenance Actions
test_cover-0.1.0.tar.gz 540.5 kB Without provenance Details for test_cover-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for test-cover 0.1.0
File Interpreter ABI Platform Actions
test_cover-0.1.0-py2.py3-none-any.whl Python 2, Python 3 none any Details for test_cover-0.1.0-py2.py3-none-any.whl

Total release size: 554.7 kB

Release files / test_cover-0.1.0.tar.gz

Download URL test_cover-0.1.0.tar.gz
Size 540.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ea626efdee703809cdb48842745cd89a8b360ce6a0d81a85bdfcbf3da6669464
BLAKE2b-256 checksum
How to use checksums
bb4f1e8203d16203b92d1cd45ec0bd6115bdbaf2a12d3195b9675852a952e148
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.16

Release files / test_cover-0.1.0-py2.py3-none-any.whl

Download URL test_cover-0.1.0-py2.py3-none-any.whl
Size 14.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
18872f012e3fd06390fc2a3763ae4327b1e1ee336522fde37dcc2dbad6cc267c
BLAKE2b-256 checksum
How to use checksums
6a44b0a06d80cf948180ccabc05d2d555e6efb6d204adeabf553ca3bfc97edf3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.16

Security for test-cover 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page