Go to file
Jim Brännlund 0408b0d504
Combined fe and be (#479)
* fix main.js conflicts

* fix js test

* fix resource (main.js) test

* revert change to report extra

* filters style

* css and dom brush up

* Buildable app

* always store data in html

* Always store data blob in file

* json dump test data

* read data from dom element

* manually initialize state

* minimalistic dataset

* simplify included files

* Handle report extras

* Handle python report hooks

* imgviewer

* present name in image viewer and open img on click

* setup linter for project

* conform to styles

* show video in imageviewer (#14)

* show video in imageviewer

* Chore: Pluralize extra (#15)

* Add extras.HTML

* Move outcome handling to backend (#18)

* Move outcome handling to backend

* Pass in text version of longrepr if present

* make collapse/expand all functional (#20)

* make collapse/expand all functional

* only create links for text, url and json (#22)

* make filter search case insensitive (#21)

* make filter search case insensitive

* use sessionStorage to prevent preferences to be reapplied on new reports

* avoid multiple event bindings + fix filter bug

* Collapse individual row

Co-authored-by: Jim Brännlund <jim.brannlund@gmail.com>

* add no log output captured string

* Query params (#25)

* Add query params

* adjust tests (#26)

* Duration format (#27)

* adjust tests

* build format handler

* remove dependency

---------

Co-authored-by: Jim Brännlund <jimbrannlund@fastmail.com>

* Beyondevil/cleanup (#28)

* chore: Cleanup branch before merge

* chore: Fix duration and CI

* Fix pre-commit issues

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Viktor Gustafsson <vikt.gust@gmail.com>
2023-03-05 16:18:52 +01:00
.github Combined fe and be (#479) 2023-03-05 16:18:52 +01:00
docs Combined fe and be (#479) 2023-03-05 16:18:52 +01:00
src Combined fe and be (#479) 2023-03-05 16:18:52 +01:00
testing Combined fe and be (#479) 2023-03-05 16:18:52 +01:00
.coveragerc Disable codecov PR comments (#382) 2020-11-27 12:29:42 +00:00
.eslintrc.json Combined fe and be (#479) 2023-03-05 16:18:52 +01:00
.gitignore Combined fe and be (#479) 2023-03-05 16:18:52 +01:00
.pre-commit-config.yaml Combined fe and be (#479) 2023-03-05 16:18:52 +01:00
.prettierrc Combined fe and be (#479) 2023-03-05 16:18:52 +01:00
Gruntfile.js Add JavaScript tests (#73) 2016-10-06 15:14:09 +01:00
LICENSE Add LICENSE 2015-05-08 16:14:01 +01:00
README.rst Move the changelog to read the docs (#423) 2021-05-10 10:20:55 +02:00
codecov.yml Disable codecov PR comments (#382) 2020-11-27 12:29:42 +00:00
docker-compose.tmpl.yml Combined fe and be (#479) 2023-03-05 16:18:52 +01:00
package-lock.json Combined fe and be (#479) 2023-03-05 16:18:52 +01:00
package.json Combined fe and be (#479) 2023-03-05 16:18:52 +01:00
poetry.lock Combined fe and be (#479) 2023-03-05 16:18:52 +01:00
pyproject.toml Combined fe and be (#479) 2023-03-05 16:18:52 +01:00
setup.cfg Add support for py39 (#345) 2020-10-17 17:49:07 +01:00
setup.py Combined fe and be (#479) 2023-03-05 16:18:52 +01:00
start Combined fe and be (#479) 2023-03-05 16:18:52 +01:00
tox.ini Combined fe and be (#479) 2023-03-05 16:18:52 +01:00

README.rst

pytest-html
===========

pytest-html is a plugin for `pytest <http://pytest.org>`_ that generates a HTML report for test results.

.. image:: https://img.shields.io/badge/license-MPL%202.0-blue.svg
   :target: https://github.com/pytest-dev/pytest-html/blob/master/LICENSE
   :alt: License
.. image:: https://img.shields.io/pypi/v/pytest-html.svg
   :target: https://pypi.python.org/pypi/pytest-html/
   :alt: PyPI
.. image:: https://img.shields.io/conda/vn/conda-forge/pytest-html.svg
   :target: https://anaconda.org/conda-forge/pytest-html
   :alt: Conda Forge
.. image:: https://github.com/pytest-dev/pytest-html/workflows/gh/badge.svg
   :target: https://github.com/pytest-dev/pytest-html/actions
   :alt: CI
.. image:: https://img.shields.io/requires/github/pytest-dev/pytest-html.svg
   :target: https://requires.io/github/pytest-dev/pytest-html/requirements/?branch=master
   :alt: Requirements
.. image:: https://codecov.io/gh/pytest-dev/pytest-html/branch/master/graph/badge.svg?token=Y0myNKkdbi
   :target: https://codecov.io/gh/pytest-dev/pytest-html
   :alt: Codecov

Resources
---------

- `Documentation <https://pytest-html.readthedocs.io/en/latest/>`_
- `Release Notes <https://pytest-html.readthedocs.io/en/latest/changelog.html>`_
- `Issue Tracker <http://github.com/pytest-dev/pytest-html/issues>`_
- `Code <http://github.com/pytest-dev/pytest-html/>`_

Contributing
------------

We welcome contributions.

To learn more, see `Development <https://pytest-html.readthedocs.io/en/latest/development.html>`_

Screenshots
-----------

.. image:: https://cloud.githubusercontent.com/assets/122800/11952194/62daa964-a88e-11e5-9745-2aa5b714c8bb.png
   :target: https://cloud.githubusercontent.com/assets/122800/11951695/f371b926-a88a-11e5-91c2-499166776bd3.png
   :alt: Enhanced HTML report