Python magic to simplify unit testing in Colab and Jupyter
Project description
UTestCell
utestcell is an IPython magic function that simplifies unit testing with Colab/Jupyter notebooks.
To activate utestcell in a Colab notebook:
!pip install utestcell
%load_ext utestcell
Then add at the top of the cell
%%utestcell
To use a test file stored on Github:
#in cell #1
url = 'url of test.py file'
#in cell #2
%%utestcell -u:$url
See a detailed explanation on my blog and on the Github repo.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
utestcell-0.0.15.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for utestcell-0.0.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a1817cbb9d5d8189b666d24c40a85f5ed7f7a2a5b5102b6c02a7e5cf9db6c63 |
|
MD5 | fddfdc137f0be0174bc761da0658eea5 |
|
BLAKE2b-256 | 7c048d54ce353b6a953205eda0c5e2b7a1b6535c64d611ee4ab4572f28e6fc2a |