Skip to content

Enhance pytest support#683

Merged
jozefizso merged 1 commit into
dorny:mainfrom
micmarc:feature/python-pytest
Nov 15, 2025
Merged

Enhance pytest support#683
jozefizso merged 1 commit into
dorny:mainfrom
micmarc:feature/python-pytest

Conversation

@micmarc

@micmarc micmarc commented Nov 15, 2025

Copy link
Copy Markdown
Contributor

This is a follow-on to #643 which adds a separate test and fixture for pytest reports. The fixture covers the same test types as the unittest fixture along with the report customization features described in the documentation.

The README is also updated with a sample pytest command.

Add robust test schema for pytest report
Update README with sample pytest command
@micmarc

micmarc commented Nov 15, 2025

Copy link
Copy Markdown
Contributor Author

@jozefizso This PR addresses some of your other comments from #643. Happy to add additional test scenarios if needed.

@jozefizso jozefizso self-assigned this Nov 15, 2025
@jozefizso jozefizso merged commit aef3d72 into dorny:main Nov 15, 2025
2 checks passed
@jozefizso jozefizso added this to the v2 milestone Nov 29, 2025
mergify Bot added a commit to ArcadeData/arcadedb that referenced this pull request Dec 1, 2025
Bumps [dorny/test-reporter](https://github.com/dorny/test-reporter) from 2.2.0 to 2.3.0.
Release notes

*Sourced from [dorny/test-reporter's releases](https://github.com/dorny/test-reporter/releases).*

> v2.3.0
> ------
>
> What's Changed
> --------------
>
> * Fix short summary formatting when a report title is present by [`@​micmarc`](https://github.com/micmarc) in [dorny/test-reporter#645](https://redirect.github.com/dorny/test-reporter/pull/645)
> * Python support based on Java JUnit parser by [`@​micmarc`](https://github.com/micmarc) in [dorny/test-reporter#643](https://redirect.github.com/dorny/test-reporter/pull/643)
> * Update sax.js to fix large XML file parsing by [`@​phactum-mnestler`](https://github.com/phactum-mnestler) in [dorny/test-reporter#681](https://redirect.github.com/dorny/test-reporter/pull/681)
> * Enhance pytest support by [`@​micmarc`](https://github.com/micmarc) in [dorny/test-reporter#683](https://redirect.github.com/dorny/test-reporter/pull/683)
> * Bump actions/checkout from 5 to 6 by [`@​dependabot`](https://github.com/dependabot)[bot] in [dorny/test-reporter#687](https://redirect.github.com/dorny/test-reporter/pull/687)
> * Add missing golang-json reporter to action.yml by [`@​jozefizso`](https://github.com/jozefizso) in [dorny/test-reporter#690](https://redirect.github.com/dorny/test-reporter/pull/690)
> * Bump js-yaml from 3.14.0 to 3.14.2 in /reports/jest by [`@​dependabot`](https://github.com/dependabot)[bot] in [dorny/test-reporter#685](https://redirect.github.com/dorny/test-reporter/pull/685)
> * Complete documentation for all supported reporters by [`@​jozefizso`](https://github.com/jozefizso) in [dorny/test-reporter#691](https://redirect.github.com/dorny/test-reporter/pull/691)
> * Bump js-yaml and mocha in /reports/mocha by [`@​dependabot`](https://github.com/dependabot)[bot] in [dorny/test-reporter#682](https://redirect.github.com/dorny/test-reporter/pull/682)
>
> New Contributors
> ----------------
>
> * [`@​phactum-mnestler`](https://github.com/phactum-mnestler) made their first contribution in [dorny/test-reporter#681](https://redirect.github.com/dorny/test-reporter/pull/681)
>
> **Full Changelog**: <dorny/test-reporter@v2.2.0...v2.3.0>


Changelog

*Sourced from [dorny/test-reporter's changelog](https://github.com/dorny/test-reporter/blob/main/CHANGELOG.md).*

> Changelog
> =========
>
> 2.3.0
> -----
>
> * Feature: Add Python support with `python-xunit` reporter (pytest) [dorny/test-reporter#643](https://redirect.github.com/dorny/test-reporter/pull/643)
> * Feature: Add pytest traceback parsing and `directory-mapping` option [dorny/test-reporter#238](https://redirect.github.com/dorny/test-reporter/pull/238)
> * Performance: Update sax.js to fix large XML file parsing [dorny/test-reporter#681](https://redirect.github.com/dorny/test-reporter/pull/681)
> * Documentation: Complete documentation for all supported reporters [dorny/test-reporter#691](https://redirect.github.com/dorny/test-reporter/pull/691)
> * Security: Bump js-yaml and mocha in /reports/mocha (fixes prototype pollution) [dorny/test-reporter#682](https://redirect.github.com/dorny/test-reporter/pull/682)
>
> 2.2.0
> -----
>
> * Feature: Add collapsed option to control report summary visibility [dorny/test-reporter#664](https://redirect.github.com/dorny/test-reporter/pull/664)
> * Fix badge encoding for values including underscore and hyphens [dorny/test-reporter#672](https://redirect.github.com/dorny/test-reporter/pull/672)
> * Fix missing `report-title` attribute in action definition [dorny/test-reporter#637](https://redirect.github.com/dorny/test-reporter/pull/637)
> * Refactor variable names to fix shadowing issues [dorny/test-reporter#630](https://redirect.github.com/dorny/test-reporter/pull/630)
>
> 2.1.1
> -----
>
> * Fix error when a TestMethod element does not have a className attribute in a trx file [dorny/test-reporter#623](https://redirect.github.com/dorny/test-reporter/pull/623)
> * Add stack trace from trx to summary [dorny/test-reporter#615](https://redirect.github.com/dorny/test-reporter/pull/615)
> * List only failed tests [dorny/test-reporter#606](https://redirect.github.com/dorny/test-reporter/pull/606)
> * Add type definitions to `github-utils.ts` [dorny/test-reporter#604](https://redirect.github.com/dorny/test-reporter/pull/604)
> * Avoid split on undefined [dorny/test-reporter#258](https://redirect.github.com/dorny/test-reporter/pull/258)
> * Return links to summary report [dorny/test-reporter#588](https://redirect.github.com/dorny/test-reporter/pull/588)
> * Add step summary short summary [dorny/test-reporter#589](https://redirect.github.com/dorny/test-reporter/pull/589)
> * Fix for empty TRX TestDefinitions [dorny/test-reporter#582](https://redirect.github.com/dorny/test-reporter/pull/582)
> * Increase step summary limit to 1MiB [dorny/test-reporter#581](https://redirect.github.com/dorny/test-reporter/pull/581)
> * Fix input description for list options [dorny/test-reporter#572](https://redirect.github.com/dorny/test-reporter/pull/572)
>
> 2.1.0
> -----
>
> * Feature: Add summary title [dorny/test-reporter#568](https://redirect.github.com/dorny/test-reporter/pull/568)
> * Feature: Add Golang test parser [dorny/test-reporter#571](https://redirect.github.com/dorny/test-reporter/pull/571)
> * Increase step summary limit to 1MiB [dorny/test-reporter#581](https://redirect.github.com/dorny/test-reporter/pull/581)
> * Fix for empty TRX TestDefinitions [dorny/test-reporter#582](https://redirect.github.com/dorny/test-reporter/pull/582)
> * Fix input description for list options [dorny/test-reporter#572](https://redirect.github.com/dorny/test-reporter/pull/572)
> * Update npm packages [dorny/test-reporter#583](https://redirect.github.com/dorny/test-reporter/pull/583)
>
> 2.0.0
> -----
>
> * Parse JUnit report with detailed message in failure [dorny/test-reporter#559](https://redirect.github.com/dorny/test-reporter/pull/559)
> * Support displaying test results in markdown using GitHub Actions Job Summaries [dorny/test-reporter#383](https://redirect.github.com/dorny/test-reporter/pull/383)
>
> 1.9.1
> -----
>
> * Fix problematic retransmission of authentication token [dorny/test-reporter#438](https://redirect.github.com/dorny/test-reporter/pull/438)
> * Report correct number of tests in Dart [dorny/test-reporter#426](https://redirect.github.com/dorny/test-reporter/pull/426)
> * Number of completed tests mismatches passed/failed [dorny/test-reporter#319](https://redirect.github.com/dorny/test-reporter/issues/319)
>
> 1.9.0
> -----
>
> * Add support for Rspec (Ruby) [dorny/test-reporter#398](https://redirect.github.com/dorny/test-reporter/pull/398)
>
> 1.8.0
> -----
>
> * Add `SwiftXunitParser` class based on `JavaJunitParser` for `swift-xunit` reporter [dorny/test-reporter#317](https://redirect.github.com/dorny/test-reporter/pull/317)
> * Use NodeJS 18 LTS as default runtime [dorny/test-reporter#332](https://redirect.github.com/dorny/test-reporter/pull/332)

... (truncated)


Commits

* [`fe45e95`](dorny/test-reporter@fe45e95) test-reporter release v2.3.0
* [`e40a1da`](dorny/test-reporter@e40a1da) Merge pull request [#682](https://redirect.github.com/dorny/test-reporter/issues/682) from dorny/dependabot/npm\_and\_yarn/reports/mocha/mult...
* [`3445860`](dorny/test-reporter@3445860) Bump js-yaml and mocha in /reports/mocha
* [`9ef5c13`](dorny/test-reporter@9ef5c13) Merge pull request [#691](https://redirect.github.com/dorny/test-reporter/issues/691) from dorny/fix/complete-documentation
* [`83e20c1`](dorny/test-reporter@83e20c1) Merge pull request [#685](https://redirect.github.com/dorny/test-reporter/issues/685) from dorny/dependabot/npm\_and\_yarn/reports/jest/js-ya...
* [`4331a3b`](dorny/test-reporter@4331a3b) Clarify the `dotnet-nunit` docs to require `NUnit3TestAdapter` for `nunit` lo...
* [`04232af`](dorny/test-reporter@04232af) Complete documentation for all supported reporters
* [`cf146f4`](dorny/test-reporter@cf146f4) Merge pull request [#690](https://redirect.github.com/dorny/test-reporter/issues/690) from dorny/fix/add-golang-json-to-action-yml
* [`33fc27c`](dorny/test-reporter@33fc27c) Merge pull request [#687](https://redirect.github.com/dorny/test-reporter/issues/687) from dorny/dependabot/github\_actions/actions/checkout-6
* [`8fd5fc5`](dorny/test-reporter@8fd5fc5) Add missing golang-json reporter to action.yml
* Additional commits viewable in [compare view](dorny/test-reporter@7b7927a...fe45e95)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=dorny/test-reporter&package-manager=github\_actions&previous-version=2.2.0&new-version=2.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
tae898 pushed a commit to humemai/arcadedb-embedded-python that referenced this pull request Jun 28, 2026
Bumps [dorny/test-reporter](https://github.com/dorny/test-reporter) from 2.2.0 to 2.3.0.
Release notes

*Sourced from [dorny/test-reporter's releases](https://github.com/dorny/test-reporter/releases).*

> v2.3.0
> ------
>
> What's Changed
> --------------
>
> * Fix short summary formatting when a report title is present by [`@​micmarc`](https://github.com/micmarc) in [dorny/test-reporter#645](https://redirect.github.com/dorny/test-reporter/pull/645)
> * Python support based on Java JUnit parser by [`@​micmarc`](https://github.com/micmarc) in [dorny/test-reporter#643](https://redirect.github.com/dorny/test-reporter/pull/643)
> * Update sax.js to fix large XML file parsing by [`@​phactum-mnestler`](https://github.com/phactum-mnestler) in [dorny/test-reporter#681](https://redirect.github.com/dorny/test-reporter/pull/681)
> * Enhance pytest support by [`@​micmarc`](https://github.com/micmarc) in [dorny/test-reporter#683](https://redirect.github.com/dorny/test-reporter/pull/683)
> * Bump actions/checkout from 5 to 6 by [`@​dependabot`](https://github.com/dependabot)[bot] in [dorny/test-reporter#687](https://redirect.github.com/dorny/test-reporter/pull/687)
> * Add missing golang-json reporter to action.yml by [`@​jozefizso`](https://github.com/jozefizso) in [dorny/test-reporter#690](https://redirect.github.com/dorny/test-reporter/pull/690)
> * Bump js-yaml from 3.14.0 to 3.14.2 in /reports/jest by [`@​dependabot`](https://github.com/dependabot)[bot] in [dorny/test-reporter#685](https://redirect.github.com/dorny/test-reporter/pull/685)
> * Complete documentation for all supported reporters by [`@​jozefizso`](https://github.com/jozefizso) in [dorny/test-reporter#691](https://redirect.github.com/dorny/test-reporter/pull/691)
> * Bump js-yaml and mocha in /reports/mocha by [`@​dependabot`](https://github.com/dependabot)[bot] in [dorny/test-reporter#682](https://redirect.github.com/dorny/test-reporter/pull/682)
>
> New Contributors
> ----------------
>
> * [`@​phactum-mnestler`](https://github.com/phactum-mnestler) made their first contribution in [dorny/test-reporter#681](https://redirect.github.com/dorny/test-reporter/pull/681)
>
> **Full Changelog**: <dorny/test-reporter@v2.2.0...v2.3.0>


Changelog

*Sourced from [dorny/test-reporter's changelog](https://github.com/dorny/test-reporter/blob/main/CHANGELOG.md).*

> Changelog
> =========
>
> 2.3.0
> -----
>
> * Feature: Add Python support with `python-xunit` reporter (pytest) [dorny/test-reporter#643](https://redirect.github.com/dorny/test-reporter/pull/643)
> * Feature: Add pytest traceback parsing and `directory-mapping` option [dorny/test-reporter#238](https://redirect.github.com/dorny/test-reporter/pull/238)
> * Performance: Update sax.js to fix large XML file parsing [dorny/test-reporter#681](https://redirect.github.com/dorny/test-reporter/pull/681)
> * Documentation: Complete documentation for all supported reporters [dorny/test-reporter#691](https://redirect.github.com/dorny/test-reporter/pull/691)
> * Security: Bump js-yaml and mocha in /reports/mocha (fixes prototype pollution) [dorny/test-reporter#682](https://redirect.github.com/dorny/test-reporter/pull/682)
>
> 2.2.0
> -----
>
> * Feature: Add collapsed option to control report summary visibility [dorny/test-reporter#664](https://redirect.github.com/dorny/test-reporter/pull/664)
> * Fix badge encoding for values including underscore and hyphens [dorny/test-reporter#672](https://redirect.github.com/dorny/test-reporter/pull/672)
> * Fix missing `report-title` attribute in action definition [dorny/test-reporter#637](https://redirect.github.com/dorny/test-reporter/pull/637)
> * Refactor variable names to fix shadowing issues [dorny/test-reporter#630](https://redirect.github.com/dorny/test-reporter/pull/630)
>
> 2.1.1
> -----
>
> * Fix error when a TestMethod element does not have a className attribute in a trx file [dorny/test-reporter#623](https://redirect.github.com/dorny/test-reporter/pull/623)
> * Add stack trace from trx to summary [dorny/test-reporter#615](https://redirect.github.com/dorny/test-reporter/pull/615)
> * List only failed tests [dorny/test-reporter#606](https://redirect.github.com/dorny/test-reporter/pull/606)
> * Add type definitions to `github-utils.ts` [dorny/test-reporter#604](https://redirect.github.com/dorny/test-reporter/pull/604)
> * Avoid split on undefined [dorny/test-reporter#258](https://redirect.github.com/dorny/test-reporter/pull/258)
> * Return links to summary report [dorny/test-reporter#588](https://redirect.github.com/dorny/test-reporter/pull/588)
> * Add step summary short summary [dorny/test-reporter#589](https://redirect.github.com/dorny/test-reporter/pull/589)
> * Fix for empty TRX TestDefinitions [dorny/test-reporter#582](https://redirect.github.com/dorny/test-reporter/pull/582)
> * Increase step summary limit to 1MiB [dorny/test-reporter#581](https://redirect.github.com/dorny/test-reporter/pull/581)
> * Fix input description for list options [dorny/test-reporter#572](https://redirect.github.com/dorny/test-reporter/pull/572)
>
> 2.1.0
> -----
>
> * Feature: Add summary title [dorny/test-reporter#568](https://redirect.github.com/dorny/test-reporter/pull/568)
> * Feature: Add Golang test parser [dorny/test-reporter#571](https://redirect.github.com/dorny/test-reporter/pull/571)
> * Increase step summary limit to 1MiB [dorny/test-reporter#581](https://redirect.github.com/dorny/test-reporter/pull/581)
> * Fix for empty TRX TestDefinitions [dorny/test-reporter#582](https://redirect.github.com/dorny/test-reporter/pull/582)
> * Fix input description for list options [dorny/test-reporter#572](https://redirect.github.com/dorny/test-reporter/pull/572)
> * Update npm packages [dorny/test-reporter#583](https://redirect.github.com/dorny/test-reporter/pull/583)
>
> 2.0.0
> -----
>
> * Parse JUnit report with detailed message in failure [dorny/test-reporter#559](https://redirect.github.com/dorny/test-reporter/pull/559)
> * Support displaying test results in markdown using GitHub Actions Job Summaries [dorny/test-reporter#383](https://redirect.github.com/dorny/test-reporter/pull/383)
>
> 1.9.1
> -----
>
> * Fix problematic retransmission of authentication token [dorny/test-reporter#438](https://redirect.github.com/dorny/test-reporter/pull/438)
> * Report correct number of tests in Dart [dorny/test-reporter#426](https://redirect.github.com/dorny/test-reporter/pull/426)
> * Number of completed tests mismatches passed/failed [dorny/test-reporter#319](https://redirect.github.com/dorny/test-reporter/issues/319)
>
> 1.9.0
> -----
>
> * Add support for Rspec (Ruby) [dorny/test-reporter#398](https://redirect.github.com/dorny/test-reporter/pull/398)
>
> 1.8.0
> -----
>
> * Add `SwiftXunitParser` class based on `JavaJunitParser` for `swift-xunit` reporter [dorny/test-reporter#317](https://redirect.github.com/dorny/test-reporter/pull/317)
> * Use NodeJS 18 LTS as default runtime [dorny/test-reporter#332](https://redirect.github.com/dorny/test-reporter/pull/332)

... (truncated)


Commits

* [`fe45e95`](dorny/test-reporter@fe45e95) test-reporter release v2.3.0
* [`e40a1da`](dorny/test-reporter@e40a1da) Merge pull request [ArcadeData#682](https://redirect.github.com/dorny/test-reporter/issues/682) from dorny/dependabot/npm\_and\_yarn/reports/mocha/mult...
* [`3445860`](dorny/test-reporter@3445860) Bump js-yaml and mocha in /reports/mocha
* [`9ef5c13`](dorny/test-reporter@9ef5c13) Merge pull request [ArcadeData#691](https://redirect.github.com/dorny/test-reporter/issues/691) from dorny/fix/complete-documentation
* [`83e20c1`](dorny/test-reporter@83e20c1) Merge pull request [ArcadeData#685](https://redirect.github.com/dorny/test-reporter/issues/685) from dorny/dependabot/npm\_and\_yarn/reports/jest/js-ya...
* [`4331a3b`](dorny/test-reporter@4331a3b) Clarify the `dotnet-nunit` docs to require `NUnit3TestAdapter` for `nunit` lo...
* [`04232af`](dorny/test-reporter@04232af) Complete documentation for all supported reporters
* [`cf146f4`](dorny/test-reporter@cf146f4) Merge pull request [ArcadeData#690](https://redirect.github.com/dorny/test-reporter/issues/690) from dorny/fix/add-golang-json-to-action-yml
* [`33fc27c`](dorny/test-reporter@33fc27c) Merge pull request [ArcadeData#687](https://redirect.github.com/dorny/test-reporter/issues/687) from dorny/dependabot/github\_actions/actions/checkout-6
* [`8fd5fc5`](dorny/test-reporter@8fd5fc5) Add missing golang-json reporter to action.yml
* Additional commits viewable in [compare view](dorny/test-reporter@7b7927a...fe45e95)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=dorny/test-reporter&package-manager=github\_actions&previous-version=2.2.0&new-version=2.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants