Commit Graph

38 Commits

Author SHA1 Message Date
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
Jan Kowalleck 3f6368693f
Move sources to `src` dir (#384) 2020-11-27 15:14:03 +00:00
Sorin Sbarnea 4f2cf9ca39
Assure scm versioning is pypa compatible (#364)
Related: https://github.com/pytest-dev/pytest-html/issues/322#issuecomment-721315174
2020-11-04 14:33:19 +00:00
Sorin Sbarnea 8b7506fdcf
Add support for py39 (#345) 2020-10-17 17:49:07 +01:00
Sorin Sbarnea 301b9d9049
Enable py38 testing (#326) 2020-08-10 19:04:08 +01:00
Sorin Sbarnea 4aaa8753f7
Avoid pytest 6.0.0 (#319)
Avoid incompatibility issues caused by
https://github.com/pytest-dev/pytest/issues/7559

We only avoid 6.0.0 because a fix will be included in 6.0.1
2020-07-30 09:33:59 +02:00
Hugo van Kemenade e6e5ef2585 Drop support for legacy Python 2.7 (#230)
* Drop support for legacy Python 2.7

* Upgrade Python syntax with pyupgrade --py36-plus

* Require pytest 5+, supports only Python 3

* Format with Black
2019-09-09 10:10:07 +02:00
Jim Brännlund 8e96c6ed94
Migrate to 'black' for consistent styling and formatting (#218)
* Migrate to 'black' for consistent styling and formatting

* Add black to tox and travis
2019-08-04 14:09:46 +02:00
Dave Hunt 3df72de391 Run tests against Python 3.7 and update classifiers 2018-07-05 16:43:51 +01:00
Bruno Oliveira 3ee1822bf1 Require pytest >= 3.0 to install (#123)
Since #121 pytest < 3 is no longer supported

Related to #122
2017-06-12 16:23:33 +01:00
Dave Hunt c6fc62c550
Adjust classifiers to indicate Python version support 2017-02-28 08:43:35 +00:00
Dave Hunt b5b3e26906
Replace environment section with values from pytest-metadata 2017-02-24 17:56:32 +00:00
Dave Hunt f84482bc6a
Disable ANSI codes support by default
Due to ansi2html having a less permissive license, remove it as a dependency.
2016-12-19 15:41:57 +00:00
Prem Karat 24e169d9a4
Add ANSI support to report
ANSI codes used for color logging is not retained in html report
This patch adds that support. Fixes/implements issue#74.

Signed-off-by: Prem Karat <pkarat@mvista.com>
2016-11-08 11:40:42 +00:00
Dave Hunt d9c0b8782b
Switch to setuptools_scm for managing versions 2016-09-23 12:43:15 +01:00
Dave Hunt 5ca382751e
Bumped version number to 1.10.0 and updated release notes 2016-08-09 15:07:22 -07:00
Dave Hunt 93eaaf8ac8 Bump version number to 1.9.0 and update release notes 2016-07-06 16:19:07 +01:00
Dave Hunt 7c876d2bd7 Move project to pytest-dev GitHub organisation 2016-06-21 18:17:38 +02:00
Dave Hunt 9bf843e020 Bump version number to 1.8.1 and update release notes 2016-05-24 09:25:15 +01:00
Dave Hunt 9ec24cbfec Add Programming Language :: Python :: 3.5 to list of classifiers 2016-03-24 09:35:26 +00:00
Dave Hunt f334180d4e Add Framework::Pytest to list of classifiers 2016-03-24 09:35:09 +00:00
Dave Hunt 5d21d46c70 Bump version number to 1.8 and update release notes 2016-02-24 16:54:07 +00:00
Dave Hunt 315bd7b510 Bump version number to 1.7 2015-10-19 09:01:47 +01:00
Dave Hunt a0ff70e169 Bump version to 1.6 2015-09-08 14:38:28 +01:00
Dave Hunt 947b036dc6 Bump version number to 1.5.1 2015-08-18 15:57:01 +01:00
Dave Hunt 778eca169b Bump version to 1.5 2015-08-18 11:11:40 +01:00
Dave Hunt db51755c12 Bump version to 1.4 2015-08-12 13:50:02 +01:00
Florian Bruhin b54c8885c9 Add PyPI Trove classifiers for Python 3. 2015-08-11 22:23:53 +02:00
Dave Hunt 1a0982f066 Bump version number to 1.3.2 2015-07-27 14:11:19 +01:00
Dave Hunt fa3cf42603 Bump version number to 1.3.1 2015-05-26 16:35:42 +01:00
Dave Hunt 1f3bc597bf Bump version number to 1.3 2015-05-26 16:24:43 +01:00
Dave Hunt a254be9435 Bump version number to 1.2 2015-05-20 11:10:27 +01:00
Dave Hunt 0f60a59fb0 Bump version number to 1.1 2015-05-08 14:57:10 +01:00
Florian Bruhin bc18b2a898 Rename package to pytest_html.
This is to avoid a conflict with the `html' package which is in the Python3
stdlib.
2015-05-07 20:28:47 +02:00
Dave Hunt c52ee2dad8 Ensure extra report content is marshallable 2015-04-20 13:57:04 +01:00
Dave Hunt 0c52bb6d4a Specify minimum py.test version in setup.py 2015-04-15 12:52:03 +01:00
Dave Hunt 3f8c3aa3b3 Add README 2015-04-15 10:28:39 +01:00
Dave Hunt ee81f7740b Initial commit 2015-04-14 20:26:04 +01:00