Commit Graph

450 Commits

Author SHA1 Message Date
Jim Brännlund 630ce7547c
Fix: Renamed report-data class to avoid confusion (#642) 2023-04-09 01:08:47 +02:00
Jim Brännlund b1a910f3ae
Chore: Temporary imports for backwards compat (#643) 2023-04-09 01:08:37 +02:00
Jim Brännlund fb1590812a
Docs: Add Deprecations docs (#640) 2023-04-09 00:35:18 +02:00
Jim Brännlund 412f01bc7c
Fix: Support cells.pop() (#641) 2023-04-09 00:35:06 +02:00
Jim Brännlund 43175f1b1a
Fix: Order and layout of outcome summary (#629) 2023-04-08 19:58:09 +02:00
Jim Brännlund 837872cd0f
Fix: Sorting of custom table columns (#634) 2023-04-08 19:57:52 +02:00
Jim Brännlund 6ec3887d27
Chore: Allow concurrency on default branch (#639) 2023-04-08 19:57:34 +02:00
Jim Brännlund f8758f98c5
Fix: Initial sort and query param (#637) 2023-04-08 18:18:28 +02:00
Jim Brännlund 89746e3203
Fix: Add skip marker results to report (#636) 2023-04-08 18:18:10 +02:00
Jim Brännlund f1bd1ebbee
Fix: Deprecate use of 'True' in render_collapsed (#635) 2023-04-08 18:17:34 +02:00
Jim Brännlund 5f580273a9
Fix: Color E(xecption) lines in the log red (#631) 2023-04-08 18:16:57 +02:00
Jim Brännlund 8350dda5eb
Fix: Handle appends on table hooks (#630) 2023-04-08 18:16:33 +02:00
Jim Brännlund e4ad806b7b
Fix: Handle assignment on table hooks (#628) 2023-04-05 22:51:01 +02:00
Jim Brännlund f374f5992f
Docs: Update contrib docs (#627) 2023-04-05 22:32:36 +02:00
Jim Brännlund 2085c6169b
Fix issue with report.extra attribute (#626) 2023-04-05 22:18:00 +02:00
Jim Brännlund b6763d7264
chore: It's <current year>, 120 is fine (#625) 2023-04-05 21:45:09 +02:00
Jim Brännlund 9cdee2887b
Merge pull request #621 from BeyondEvil/next-gen
Next gen
2023-04-03 22:24:16 +02:00
Jim Brännlund 5e00bccbde Merge master with next-gen 2023-04-03 21:54:03 +02:00
Jim Brännlund 142bd4a608
chore: Migrate from Poetry to Hatch (#617) 2023-04-02 21:18:21 +02:00
Jim Brännlund aa9c5291b4
docs: Update to current (#616) 2023-04-02 15:38:26 +02:00
Jim Brännlund ac6d4b4fcc
fix: Broken sorting due to typo in jinja template (#614) 2023-04-02 03:00:31 +02:00
Jim Brännlund 3aa553fb6a
fix: Use the same duration formatting as for the tests (#613) 2023-04-02 02:04:56 +02:00
Jim Brännlund e6a3d5cc78
fix: Replacing log HTML (#611) 2023-04-02 01:19:59 +02:00
Jim Brännlund 81dc8036e0
fix: Incorrect precedence render collapsed (#610) 2023-04-01 17:12:49 +02:00
Jim Brännlund faaa12f9f3
chore: Better directory and class structure (#609) 2023-04-01 15:56:08 +02:00
Jim Brännlund 080780cf09
fix: Deprecate the Cells.pop function (#608) 2023-04-01 15:18:36 +02:00
Jim Brännlund 3306c1c09f
fix: Collapsed should support All and none (#605) 2023-04-01 11:55:50 +02:00
Jim Brännlund f381d082bc
tests: Add tests for stdout and sterr capture (#604) 2023-04-01 11:23:25 +02:00
Jim Brännlund 34ff60fbd4
fix: Missing logging in report (#603) 2023-03-25 23:11:46 +01:00
Jim Brännlund 6013279574
chore: Add code coverage for JS (#600) 2023-03-25 01:29:29 +01:00
Jim Brännlund 40a80d535d
fix: Table hooks (#599) 2023-03-20 14:32:23 +01:00
Jim Brännlund 079681decc
fix: Report fails to render with pytest-xdist (#598) 2023-03-19 18:56:52 +01:00
Jim Brännlund 21cf38918f
fix: Add config to report object (#588) 2023-03-19 18:42:45 +01:00
Jim Brännlund d02dac0dda
update: duration_format renders deprecation warning (#589) 2023-03-19 16:15:16 +01:00
Jim Brännlund df894ec408
chore: Add unit test file (#590) 2023-03-18 23:08:36 +01:00
Jim Brännlund 6eff86d537
refactor: stop overwriting pytest data (#597) 2023-03-18 22:52:01 +01:00
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
David Runge 4da1dea242
Switch to setuptools-scm >= 7.0.0 (#567) 2022-12-01 18:31:00 +00:00
Jim Brännlund a867776a40
Revert "Rename master branch to main (#560)" (#562)
This reverts commit 7da6a8275d.
2022-10-27 16:07:32 +02:00
Sorin Sbarnea 7da6a8275d
Rename master branch to main (#560) 2022-10-27 14:37:03 +01:00
Jim Brännlund c2b4f58558
chore: Deactivate broken test for now (#557) 2022-10-25 14:00:58 +02:00
Jim Brännlund ea9ece9ed0
Release v3.2.0 (#556) 2022-10-25 12:33:54 +02:00
smartEBL 00740f5e26
Add py as dependency (#555)
This dependency was implicitely set through pytest. With [1] the
dependency was removed from pytest, so pytest-html fails with:

ModuleNotFoundError: No module named 'py.xml'; 'py' is not a package

Specify it explicitely as dependency to fix the issue.

[1] 19dda7c9bd

Signed-off-by: Erik Bloß <erik.bloss@smartmicro.de>

Signed-off-by: Erik Bloß <erik.bloss@smartmicro.de>
2022-10-25 12:16:56 +02:00
Jim Brännlund ea89db8e02
fix: upgrade pip before running tox (#522)
* fix: upgrade pip before running tox

* Use "-X utf8" to solve encoding issues on Windows

* Disable pypy3.8 on windows
2022-07-17 13:28:12 +02:00
mrlegohead0x45 3fbfd2518f
Use pathlib.Path for file path handling (#514)
* Change to pathlib.Path in html_report.py

* Change plugin.py to use Path

* Convert result.py

* Use Path for reading & writing files as well
2022-07-15 23:28:29 +02:00
Ross Burton d6d9cb43b9
pip isn't a build dependency (#516)
It's possible, and even desirable, to build modern Python code without pip, for example by using the `build` and `installer` packages.
2022-07-14 21:30:00 +02:00
Jim Brännlund aa85f41296 Merge branch 'master' into next-gen 2022-05-07 22:31:01 +02:00
Jim Brännlund e09ebfafac
bump pre-commit deps (#513)
* bump pre-commit deps

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-04-22 01:06:03 +02:00
Jim Brännlund 8685d27c98
Update python versions (#509) 2022-03-31 09:50:39 +01:00
Jim Brännlund e568f1fa83 merge master 2022-02-04 23:30:10 +01:00