scipy / scipy_doctest

Floating-point aware doctesting
BSD 3-Clause "New" or "Revised" License
5 stars 4 forks source link

Fix doctest log formatting #97

Closed Sheila-nk closed 6 months ago

Sheila-nk commented 12 months ago

After collection and doctesting of objects, it would be ideal to have a log that shows all objects that have been doctested and the subsequent results.

The current log generation is faulty as the module names are logged first then the doctested objects logged later. This is probably due to pytest's execution of doctests.

Here is what the current doctest log for Scipy looks like: doctest (2).log

ev-br commented 6 months ago

For cross-referencing: https://github.com/ev-br/scpdt/wiki/Compare-the-coverage seems to do the trick; tracking the number of examples per function is nice, let's keep this option on the back of our mind for when we need it.