Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sage -t : Write report in JUnitXML format #33232

Open
mkoeppe opened this issue Jan 26, 2022 · 2 comments
Open

sage -t : Write report in JUnitXML format #33232

mkoeppe opened this issue Jan 26, 2022 · 2 comments

Comments

@mkoeppe
Copy link
Contributor

mkoeppe commented Jan 26, 2022

It is a standard format for test reporting, supported by major tools; for example:

To write:

To read:

Why we want it:

  1. Make patchbot failure reporting useful when base already has some failures

CC: @fchapoton @tobiasdiez @vbraun

Component: doctest framework

Issue created by migration from https://trac.sagemath.org/ticket/33232

@mkoeppe mkoeppe added this to the sage-9.6 milestone Jan 26, 2022
@tobiasdiez
Copy link
Contributor

comment:1

Pytest can be used to extract tests from an arbitrary file using the pytest_collect_file hook, see for an example to parse Yaml files. Thus it would be an idea to this to plugin sage's custom doctest discovery/format and profit from pytest JUnitXml format among many other output formats.

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Feb 1, 2022

comment:2

Yes, sounds like a good approach

@mkoeppe mkoeppe modified the milestones: sage-9.6, sage-9.7 Apr 1, 2022
@mkoeppe mkoeppe modified the milestones: sage-9.7, sage-9.8 Aug 31, 2022
@mkoeppe mkoeppe modified the milestones: sage-9.8, sage-9.9 Jan 7, 2023
@mkoeppe mkoeppe removed this from the sage-10.0 milestone Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants