eid
keyword, as shown below:autosave
magic command to the top cell of the notebook, as follows:bash {{test}}
wget "https://storage.googleapis.com/codevolve-staging-misc/ipynb_export.py?bust=$RANDOM" -O .ipynb_export.py
python3 .ipynb_export.py 'name-of-notebook.ipynb'
NONE
.converter.sh
.enb_<guid>.<extension>
(see next section for more details).d5137d
, and you would like to use a code pattern test on the code within the cell, you would direct the code pattern test to search within .*d5137d.py
:.py
files. These can then be checked using unit tests and code patterns..txt
or .stdout
files, depending on whether a print
statement was used. These can be used with code patterns and unit tests..er
files. This is useful for testing whether an error was raised correctly..png
files, which can be used with image tests. Any text associated with the images will be saved as .src
files. You can these with code patterns.print
statement, and you would like to test the cell's output, you can create a test like the following: