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
Michał Bielawski
623efc6198
Truncate long test names in assets.
2019-06-19 15:40:12 +01:00
Jim Brännlund
582c29fb5a
Handle when report title is stored as an environment variable
...
When the --html flag is used in pytest.ini with "addopts" and the
report title is stored in an environment variable, the name of the
environment variable was used as the report title.
In other words, the environment variable was never expanded.
Fixes : #201
2019-04-26 11:08:20 +02:00
Iulia Liakh
27b6e77ab1
Change assets naming method ( #199 )
...
* added assets name hashing option
* from command line option to config option
* new naming strategy
* fix
* Flake8 issues fixed
* more Flake8 issues fixed
2019-02-19 06:34:01 -03:00
Ana Ribeiro
6f9b14c7eb
Fixed tests that were failing due Pytest updates ( #190 )
...
* Corrected Rerun failures - from 4ec74311cd (diff-c3a581865b7c0be4e6b5d5fa60d6aed5)
* Removed ENV
* Changed funcarg to pytest fixture
* Removed some comments
* Style matter
* Style
* Reversed rerunfailures to 4.1
* Style
* added comment about issue 77
* Removed rerunfailures version due launch of rerunfailures 6.0
2019-01-11 10:00:33 +00:00
Anthony Sottile
79e1d7d53f
Fix invalid escape sequences
2018-06-30 08:41:17 -07:00
Jace Browning
fb6a456415
Disable sort on environment table when metadata is ordered
2018-05-22 11:31:53 +01:00
Dave Hunt
51c77d5c3f
Finish up the custom CSS support including docs and tests
2018-04-05 13:29:13 +01:00
Dave Hunt
ebebda43dd
Report collection errors in HTML report. ( #154 )
...
Fixes #148
2018-04-05 11:31:56 +01:00
Joep Schuurkes
d5031769b6
Add hook for modifying summary section ( #152 )
...
Closes #109
2018-04-05 11:31:20 +01:00
Joep Schuurkes
abf8f15e4e
adds filename of report as title to html body
2018-03-26 16:22:57 +01:00
Jeffry Pincus
c61dc5bbe0
Fix for including a screenshot bug on Windows ( #136 )
...
Fixes #124
2018-01-04 12:48:33 +00:00
Dave Hunt
e7b1f6e4d3
Fix regular expression for duration in tests
2017-09-19 09:22:16 +01:00
Rasmus Pedersen
950b889108
Improve rendering of collections in metadata ( #132 )
...
Render metadata collection values as comma seperated strings.
2017-09-19 04:04:34 -04:00
Dave Hunt
0c442e43ae
Minor style improvements
2017-08-15 09:16:32 +01:00
Chingiz_Toimbetov
708369a6db
Change 'passed tests' numeration in tests
2017-08-15 09:06:09 +01:00
Chingiz_Toimbetov
e9b2433549
Decode all bytes strings in extra text.
2017-08-15 09:06:09 +01:00
Tomasz Gajewski
a0cade6e0c
Fixed handling unicode longrepr values. Fixes #114 .
2017-06-09 15:47:25 +01:00
Jim Brännlund
f19a86d1e3
Add ability to specify images as file or URL
...
Fixes #77
2017-06-06 14:31:19 +01:00
Dave Hunt
4c81503c69
Always encode content for data URI
...
Fixes #106
2017-03-08 16:23:38 +00:00
Dave Hunt
a1413ed734
Restore environment heading, fix tests, and document pytest-metadata changes
2017-02-27 13:04:36 +00:00
Dave Hunt
2817ac5077
Encode all non-binary assets as utf-8. Fixes #98
2017-02-24 12:54:40 +00:00
Dave Hunt
e0c147db22
Add some tolerance to test_durations
2017-02-24 11:35:59 +00:00
Dave Hunt
67e8f28bbd
Escape log sections in HTML report. Fixes #100
2017-02-24 11:29:23 +00:00
Nicolas
98e9abb4cf
Add support for JPG and SVG ( #87 )
...
Fixes #89
2016-11-30 09:23:34 +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
Ana Ribeiro
972058bb60
Add JavaScript tests ( #73 )
...
Fixes #49
2016-10-06 15:14:09 +01:00