Python unittest runner with html report.
Project description
'Because testing should help, not constrain.'
Example
-
Source code:
my_bugged_module.pydef my_bugged_function(): my_var = {'a': 'b'} 1/0
-
Test case:
test.pyfrom logging import getLogger from my_bugged_module import my_bugged_function from unittest import TestCase class MyTestCase(TestCase): def test(self): """ Test example. """ print("Print something") getLogger().info("Log message") my_bugged_function()
-
Result:
Use as nose plugin
nosetests --with-html-test test
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
html_test_report-1.1.5.tar.gz
(15.2 kB
view details)
File details
Details for the file html_test_report-1.1.5.tar.gz.
File metadata
- Download URL: html_test_report-1.1.5.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22103f8361900efd7b8d655f695dfbb4b713c2b449ca3782981415750c185ac9
|
|
| MD5 |
ae5b8ebc92d4cd258c43de4c92467808
|
|
| BLAKE2b-256 |
cd56aa4e956a5c569ae0109f0b09f96911260cab4d4b716fc672683608bcaac6
|