Open phaustin opened 3 years ago
Some minor additional comments:
test_client.py
, but NotebookClient shows a low-level interaction with the kernel. You may need functionality from there to run individual lines of code (but if there's a higher level API to use with examples in test_client.py
, definitely use that instead)_execute_code_snippet
using asyncio to conform to the new nbclient
and nbconvert
code. You'll see a big block of functions after the comments in instantiatetests.py
-- all of these are just there to execute individual lines of codelimit_testcell_height
branch makes modifications to the nbgrader notebook format to add a property max_height
to cells. I developed this because the autotest code was getting really long and ugly, so limiting testcell height helps keep things clean. This branch should be PR'd at the same time as autotest and the two should be cross referenced. I believe this branch is already in really good shape -- I don't remember wanting to change/add anything -- but you should test it thoroughly before PRingand some additional todo items Before starting on the coding things in @phaustin 's message above:
master
branch of https://github.com/jupyter/nbgrader into the master
branch of the forked nbgrader repogenerate_tests_stringeq
branch on that new master branchI just did these now to avoid confusion.
one modification to the code after the above coding things in @phaustin 's message are done:
As part of the python port for the dsci 100 R notebooks, we'll need to move all nbgrader tests to the python kernel.