ingeniamc / ingeniamotion

Motion library for Ingenia servo drives
Other
6 stars 0 forks source link

generate name of junit report inside tox system #237

Closed polfeliu closed 2 months ago

polfeliu commented 2 months ago

[Doc] Only one test execution per python version is shown on junit reports Sometimes it fails on 3.9 and passed on 3.12. Tox is creating the file for 3.9, but 3.12 is overwiting it, so we only have the last one, that doesnt have inffo on why it failed https://novantamotion.atlassian.net/browse/INGM-503

Each command to the tox system should have a different file name for pytest, {envname} interpolation does the trick, but this means the file export must be inside of the tox file instead of externally. Sol [Test] Now there are separate reports for each python version image