AnswerDotAI / AnswerDotAI/nbdev
Add verbose option to nbdev_test
- Vorherrschende Sprache
- Jupyter Notebook
- Sterne
- 5.3k
- Forks
- 513
- Ø Merge
- 2 T. 30 Min.
- Gemergte PRs (30 T.)
- 8
Beschreibung
Right now `nbdev_test` has the `do_print` option but it's not enough.
Sometimes a notebook it's taking too long to be executed and I would like to know which cells are making the tests run slow. This will be particularly useful to debug why CI it's taking to long.
My suggestion it's to add a `-v` flag that outputs the cell that `nbdev_test` ran and it's running. Timing of execution per cell would be awesome but not required.
Beitragsleitfaden
Rechercherichtung
Beginne damit, den Befehl nbdev_test und seine vorhandene Option do_print zu finden. Verfolge anschließend, wie Notebook-Zellen ausgeführt werden, und sorge dann dafür, dass die -v-Ausgabe die aktuell ausgeführte Zelle identifiziert. Überprüfe das Verhalten mit den vorhandenen nbdev_test-Prüfungen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- jupyter, python
- Bereich
- cli, testing-qa, tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 32/100