Changelog¶
Versions follow Semantic Versioning (<major>.<minor>.<patch>
).
Version History¶
4.1.1 (2023-11-07)¶
Fix original initial sort INI-setting.
Thanks to @sturmf for reporting.
4.1.0 (2023-11-04)¶
Fix typo (“ge” instead of “get”) in green Reload button in report file.
Fix results table modification documentation.
Thanks to @michalkaptur for the reporting and PR.
Fix broken duration.
Revert report generation to full run.
Add collections errors to report.
Fix escaping HTML in the log.
4.0.2 (2023-09-12)¶
Use absolute path to the report file.
Thanks to @adrien-berchet for reporting and for the PR.
4.0.1 (2023-09-10)¶
Fix incorrectly labeled outcome.
Thanks to @lodagro for reporting
4.0.0 (2023-09-01)¶
This release is the result of more than two years of rewrites.
We’ve tried our best to keep this release backwards-compatible with v3.
If you find something that seems to be a regression, please consult the documentation first, before filing an issue.
Thanks to all the users who have contributed with ideas, solutions and beta-testing. You’re too many to name, but you know who you are.
A special thanks to @drRedflint and @jeffwright13 for all the javascript and testing respectively.
3.2.0 (2022-10-25)¶
Explicitly add py.xml dependency.
Thanks to @smartEBL for the PR
Implement the
visible
URL query parameter to control visibility of test results on page load. (#399)Thanks to @TheCorp for reporting and @gnikonorov for the fix
Make the report tab title reflect the report name. (#412)
Thanks to @gnikonorov for the PR
Implement
environment_table_redact_list
to allow for redaction of environment table values. (#233)Thanks to @fenchu for reporting and @gnikonorov for the PR
3.1.1 (2020-12-13)¶
Fix issue with reporting of missing CSS files. (#388)
Thanks to @prakhargurunani for reporting and fixing!
3.1.0 (2020-12-2)¶
Stop attaching test reruns to final test report entries (#374)
Thanks to @VladimirPodolyan for reporting and @gnikonorov for the fix
Allow for report duration formatting (#376)
Thanks to @brettnolan for reporting and @gnikonorov for the fix
3.0.0 (2020-10-28)¶
Respect
--capture=no
,--show-capture=no
, and-s
pytest flags (#171)Thanks to @bigunyak for reporting and @gnikonorov for the fix
Make the
Results
tableLinks
column sortable (#242)Thanks to @vashirov for reporting and @gnikonorov for the fix
Fix issue with missing image or video in extras. (#265 and pytest-selenium#237)
Thanks to @p00j4 and @anothermattbrown for reporting and @christiansandberg and @superdodd and @dhalperi for the fix
Fix attribute name for compatibility with
pytest-xdist
2. (#305)Thanks to @Zac-HD for the fix
Post process HTML generation to allow teardown to appear in the HTML output. (#131)
2.1.1 (2020-03-18)¶
Fix issue with funcargs causing failures. (#282)
Thanks to @ssbarnea for reporting and @christiansandberg for the fix
2.1.0 (2020-03-09)¶
Added support for MP4 video format. (#260)
Thanks to @ExaltedBagel for the PR
Added support for sorting metadata by key. (#245)
Thanks to @ssbarnea for reporting and @ExaltedBagel for the fix
Added support for rendering reports collapsed (#239)
Thanks to @Wramberg for suggesting this enhancement
Added extra fixture (#269)
Thanks to @christiansandberg for the PR
Added ability to change report title using hook (#270)
Thanks to @werdeil for the PR
2.0.1 (2019-10-05)¶
2.0.0 (2019-09-09)¶
Drop support for Python 2.7. We will continue to accept patches to
1.22.x
for the time being.Thanks to @hugovk for the PR
1.22.0 (2019-08-06)¶
Refactor assets naming to be more readable and OS safe.
Add line break to log section of the report.
Thanks to @borntyping for reporting and fixing!
1.21.1 (2019-06-19)¶
Fix issue with assets filenames being too long.
Thanks to @D3X for reporting and providing a fix
1.21.0 (2019-06-17)¶
Allow opening generated html report in browser (@ssbarnea)
Handle when report title is stored as an environment variable (@BeyondEvil)
Change assets naming method (@SunInJuly)
1.20.0 (2019-01-14)¶
Tests running with Pytest 4.0 and Python 3.7
Stop filtering out falsy environment values (#175)
Thanks to @jknotts for reporting the issue and to @crazymerlyn for providing a fix
Removed extraneous space from anchor tag (@chardbury)
Always define __version__ even if get_distribution() fails (@nicoddemus)
Refactor css config code (@crazymerlyn)
1.19.0 (2018-06-01)¶
Allow collapsed outcomes to be configured by using a query parameter
Thanks to @Formartha for suggesting this enhancement and to @jacebrowning for providing a patch
1.18.0 (2018-05-22)¶
Preserve the order if metadata is
OrderedDict
Thanks to @jacebrowning for suggesting this enhancement and providing a patch
1.17.0 (2018-04-05)¶
Add support for custom CSS (#116)
Thanks to @APshenkin for reporting the issue and to @i-am-david-fernandez for providing a fix
Report collection errors (#148)
Thanks to @Formartha for reporting the issue
Add hook for modifying summary section (#109)
Thanks to @shreyashah for reporting the issue and to @j19sch for providing a fix
Add filename to report as heading
Thanks to @j19sch for the PR
1.16.1 (2018-01-04)¶
Fix for including screenshots on Windows (#124)
Thanks to @ngavrish for reporting the issue and to @pinkie1378 for providing a fix
1.16.0 (2017-09-19)¶
Improve rendering of collections in metadata (@rasmuspeders1)
1.15.2 (2017-08-15)¶
Always decode byte string in extra text
Thanks to @ch-t for reporting the issue and providing a fix
1.15.1 (2017-06-12)¶
Fix pytest dependency to 3.0 or later
Thanks to @silvana-i for reporting the issue and to @nicoddemus for providing a fix
1.15.0 (2017-06-09)¶
Fix encoding issue in longrepr values
Thanks to @tomga for reporting the issue and providing a fix
Add ability to specify images as file or URL
Thanks to @BeyondEvil for the PR
1.14.2 (2017-03-10)¶
Always encode content for data URI
Thanks to @micheletest and @BeyondEvil for reporting the issue and confirming the fix
1.14.1 (2017-02-28)¶
Present metadata without additional formatting to avoid issues due to unpredictable content types
1.14.0 (2017-02-27)¶
Add hooks for modifying the test results table
Replace environment section with values from pytest-metadata
Fix encoding for asset files
Escape contents of log sections
1.13.0 (2016-12-19)¶
Disable ANSI codes support by default due to dependency on ansi2html package with less permissive licensing
1.12.0 (2016-11-30)¶
1.11.1 (2016-11-25)¶
Fix title of checkbox disappearing when unchecked (@vashirov)
1.11.0 (2016-11-08)¶
Add support for ANSI codes in logs (@premkarat)
1.10.1 (2016-09-23)¶
Fix corrupt image asset files
Remove image links from self-contained report
Fix issue with unexpected passes not being reported in pytest 3.0
1.10.0 (2016-08-09)¶
Hide filter checkboxes when JavaScript is disabled (@RibeiroAna)
Removed rerun outcome unless the plugin is active (@RibeiroAna)
Introduce
--self-contained-html
option to store CSS and assets inline (@RibeiroAna)Save images, text, and JSON extras as files in an assets directory (@RibeiroAna)
Use an external CSS file (@RibeiroAna)
Set initial sort order in the HTML (@RibeiroAna)
Allow visibility of extra details to be toggled (@leitzler)
1.9.0 (2016-07-04)¶
Split pytest_sessionfinish into generate and save methods (@karandesai-96)
Show tests rerun by pytest-rerunfailures plugin (@RibeiroAna)
Added a feature to filter tests by outcome (@RibeiroAna)
1.8.1 (2016-05-24)¶
Include captured output for passing tests
1.8.0 (2016-02-24)¶
Remove duplication from the environment section
Dropped support for Python 3.2
Indicated setup and teardown in report
Fixed colour of errors in report
1.7 (2015-10-19)¶
Fixed INTERNALERROR when an xdist worker crashes (@The-Compiler)
Added report sections including stdout and stderr to log
1.6 (2015-09-08)¶
Fixed environment details when using pytest-xdist
1.5.1 (2015-08-18)¶
Made environment fixture session scoped to avoid repeating content
1.5 (2015-08-18)¶
Replaced custom hook for setting environemnt section with a fixture
1.4 (2015-08-12)¶
Dropped support for pytest 2.6
Fixed unencodable strings for Python 3 (@The-Compiler)
1.3.2 (2015-07-27)¶
Prevented additional row if log has no content or there is no extra HTML
1.3.1 (2015-05-26)¶
Fixed encoding issue in Python 3
1.3 (2015-05-26)¶
Show extra content regardless of test result
Added support for extra content in JSON format
1.2 (2015-05-20)¶
Changed default sort order to test result (@The-Compiler)
1.1 (2015-05-08)¶
Added Python 3 support
1.0 (2015-04-20)¶
Initial release