Metadata-Version: 2.4
Name: html_test_report
Version: 1.1.4
Summary: Python unittest runner with html report.
Home-page: https://github.com/adelplanque/html-test-report
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Testing
Requires-Python: >=2.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: jinja2
Requires-Dist: pygments
Requires-Dist: python-magic
Requires-Dist: six
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

'Because testing should help, not constrain.'


## Example ##

* Source code: `my_bugged_module.py`

  ```python
   def my_bugged_function():
       my_var = {'a': 'b'}
       1/0
  ```

* Test case: `test.py`

  ```python
  from 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:

  ![Test report](screnshot.png)


### Use as nose plugin ###

```bash
nosetests --with-html-test test
```
