Jim Brännlund
0888c688f4
Merge pull request #251 from BeyondEvil/release-v1.22.1
...
Release v1.22.1
2019-11-18 12:49:59 -08:00
Krzysztof Pawlik
b9fd59df02
Release v1.22.1
2019-11-05 14:53:04 -08:00
Jim Brännlund
1b1eab1176
Merge pull request #238 from ssbarnea/2.7/min-width
...
Fix min-width which produced horizontal scrolls
2019-11-05 13:36:59 -08:00
Sorin Sbarnea
bc15af2ee4
Fix min-width which produced horizontal scrolls
...
PRevious min-width caused undesired horizontal scrolls even on a 5K
display with 1/2 split screen. Reduced value allows users to better
use their screens.
2019-09-12 20:28:01 +01:00
Jim Brännlund
49a36a4de7
Use pre-commit to streamline development ( #229 )
...
* Use pre-commit to streamline development
* Specify linting stage in travis config
2019-08-12 20:11:52 +02:00
Wanam
b69dde56a3
Keep sort preference for previously sorted columns ( #220 )
...
* Keep sort preference for previously sorted columns
2019-08-07 23:44:02 +02:00
Jim Brännlund
4299ea2b53
Release v1.22.0 ( #226 )
2019-08-06 18:42:19 +02:00
Jim Brännlund
9dd249f200
Fix assets file naming to work across both *nix and windows ( #223 )
...
* Fix assets file naming to work across both *nix and windows
Fixes #214
Fixes #213
* Better replacement strategy for test id
* Update markers
2019-08-06 13:57:05 +02:00
Jim Brännlund
6abbbff3e4
Remove unused and undocumented markers ( #224 )
2019-08-05 18:34:11 +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
Jim Brännlund
c9eadb0b76
Merge pull request #217 from borntyping/patch-1
...
Append a line break after captured log sections
2019-07-09 22:04:52 +02:00
Sam Clements
b3cf28a84b
Append a line break after captured log sections
...
The content in log sections doesn't always include a trailing newline, so this includes one afterwards ensuring that the next section header is placed on a new line. If there's already a trailing newline, this has no effect as it uses `<br>`.
2019-07-09 14:14:39 +01:00
Jim Brännlund
83d6e1bb66
New release v1.21.1 ( #211 )
2019-06-19 16:20:33 -03:00
Jim Brännlund
e5125d524d
Merge pull request #210 from D3X/truncate-long-test-names
...
Truncate long test names in assets.
2019-06-19 20:45:38 +02:00
Michał Bielawski
623efc6198
Truncate long test names in assets.
2019-06-19 15:40:12 +01:00
Ana Ribeiro
6a41052c6b
v.1.21.0 ( #209 )
2019-06-17 17:53:05 -03:00
Sorin Sbarnea
6ff7b9616a
Allow opening generated html report in browser ( #208 )
...
By default terminals would open files in editors and URLs in browsers.
By printing the generated html report using an URL (file://) we enable
users to click the terminal to open it. Previously this opened the file
in the text editor which is very unlikely to be what user would want.
2019-06-17 13:04:03 -03:00
Jim Brännlund
67dc73783c
Merge pull request #203 from BeyondEvil/handle-env-var-in-addopts
...
Handle when report title is stored as an environment variable
2019-04-26 20:02:47 +02: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
Dave Hunt
703a5ccdea
Fix version number and release date in notes
2019-01-14 17:41:00 +00:00
Ana Ribeiro
7b90cee2ef
V1.20.0 ( #194 )
...
* Corrected Rerun failures - from 4ec74311cd (diff-c3a581865b7c0be4e6b5d5fa60d6aed5)
* Removed ENV
* 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
* Version 1.20.0 and version release text
* Changed RST
* Removed extraneous space
2019-01-14 17:39:11 +00:00
chardbury
75cfd52da1
Removed extraneous space from anchor tag ( #192 )
2019-01-12 10:05:19 -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
Ankit Goel
cf21aed363
Stop filtering out falsy environment values
...
Fixes #175
2018-10-04 17:07:12 +01:00
Ankit Goel
21b80148b3
Refactor css config code
...
Change the default value for `--css` option to an empty array instead of
None since the config reading code is doing that manually.
2018-10-04 16:30:41 +01:00
Bruno Oliveira
2671fba6c3
Merge pull request #178 from nicoddemus/frozen-version
...
Always define __version__ even if get_distribution() fails
2018-09-19 11:09:37 -03:00
Bruno Oliveira
44d1aa4bfa
Always define __version__ even if get_distribution() fails
...
In frozen executables such as pyinstaller, get_distribution() does not work
because it looks for files in the environment which are not packed in the
executable.
This patch makes `__version__` available in those situations, otherwise the
plugin won't work at all because `plugin.py` tries to import `__version__`
from `pytest_html.__init__`.
2018-09-17 14:54:25 -03:00
Dave Hunt
3df72de391
Run tests against Python 3.7 and update classifiers
2018-07-05 16:43:51 +01:00
Anthony Sottile
4e6fde3db1
Use latest stable node version in Travis CI
2018-07-03 15:17:53 +01:00
Anthony Sottile
79e1d7d53f
Fix invalid escape sequences
2018-06-30 08:41:17 -07:00
Dave Hunt
8aa0671b97
Update release notes for v1.19.0
2018-06-01 10:47:14 +01:00
Jace Browning
13a299f28f
Add implementation of 'includes' for PhantomJS
...
https://stackoverflow.com/a/31361163/429533
2018-06-01 10:42:26 +01:00
Jace Browning
d81d1563cb
Customize collapsed rows with a query param
2018-06-01 10:42:26 +01:00
Bruno Oliveira
54ddfdebf9
Add conda-forge badge to README
2018-05-22 13:41:53 +01:00
Dave Hunt
c2488ffd50
Update release notes for v1.18.0
2018-05-22 11:37:29 +01:00
Dave Hunt
9f77f2901a
Add .pytest_cache to .gitignore
2018-05-22 11:33:09 +01:00
Jace Browning
fb6a456415
Disable sort on environment table when metadata is ordered
2018-05-22 11:31:53 +01:00
Dave Hunt
35a610065e
Update release notes for v1.17.0
2018-04-05 14:24:50 +01:00
Dave Hunt
51c77d5c3f
Finish up the custom CSS support including docs and tests
2018-04-05 13:29:13 +01:00
David Fernandez
f8fcd88c08
Added option to append one or more user-provided style sheets to report's styling.
2018-04-05 13:13:32 +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
Dave Hunt
86d10ae466
Update release notes for v1.16.1
2018-01-04 12:53:56 +00: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
764ef3cbbe
Pin phantomjs-prebuilt dependency due to https://github.com/Medium/phantomjs/issues/755
2018-01-02 13:01:07 +00:00
Dave Hunt
e7b1f6e4d3
Fix regular expression for duration in tests
2017-09-19 09:22:16 +01:00
Dave Hunt
7254149a5c
Update release notes for v1.16.0
2017-09-19 09:12:31 +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