You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I am interested doing this issue, but can we use other library to generate test notebooks or it is better to code it from scratch to generate jupyter notebook?
I'd like to leave a least one actual notebook file around, associated with a test that nbcelltests does actually work with a real file :)
Just to warn you: a part of this task might be improving the tests themselves. There is probably some overlap between unit tests, partially because some re-use the same underlying notebook files. Ideally improving the tests would be a separate task (i.e. should be possible to do a straight up "generate the notebooks" replacement for "physical notebooks" only, but also possible that something blocks that).
Testing tools that are themselves test tools can be tricky, so please feel free to ask if you see something that looks weird - it might be just bad code, or it might be necessary for some awkward reason.
This task will leave you with a negative "line count contribution" to the project. That's the second best kind of contribution - second only to preventing lines being written in the first place :)
Currently, nbcelltests' tests use various .ipynb files stored in nbcelltests/tests. Instead, we should generate notebooks as needed during the tests.
Doing this will allow various bits of test code to be simplified.
The text was updated successfully, but these errors were encountered: