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.
Metadata
Release files for utestcell 0.0.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| utestcell-0.0.15.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| utestcell-0.0.15-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.7 kB
Release files / utestcell-0.0.15.tar.gz
| Download URL | utestcell-0.0.15.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d7648f03278d3aa728193d946c913a584b530b67b5b36e8a048a93012dc32fa
|
|
BLAKE2b-256 checksum How to use checksums |
b88e5db424a439669ced91d69b4275e2d1c00030f709ebc04e2dc6acb329777d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|
Release files / utestcell-0.0.15-py3-none-any.whl
| Download URL | utestcell-0.0.15-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6a1817cbb9d5d8189b666d24c40a85f5ed7f7a2a5b5102b6c02a7e5cf9db6c63
|
|
BLAKE2b-256 checksum How to use checksums |
7c048d54ce353b6a953205eda0c5e2b7a1b6535c64d611ee4ab4572f28e6fc2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|