Skip to main content

ipynose

https://travis-ci.org/wikibootup/ipynose.svg?branch=master

print nosetests result in the iPython (notebook)

iPython notebook example here.

Usage

from ipynose import ipynose

1. no path

nosetests without specific path. (-v option default)

ipynose.show_nose_result()

1) If empty, Error should occur ... SKIP: showing class skipping
First node should be equal to last node ... SKIP: showing class skipping
1) Last node should contaions inserted self.item ... SKIP: showing class skipping
Initial Queue ... SKIP: showing class skipping
1) 'peek' returns first node item. ... SKIP: showing class skipping
test_dequeue ... ok
test_enqueue_when_empty ... ok
test_enqueue_when_not_empty ... ok
test_make_queue ... ok
test_peek ... ok

----------------------------------------------------------------------
Ran 10 tests in 0.014s

OK (SKIP=5)

2. Specific path

nosetests for specific file. (-v option default)

EXAMPLE_TEST_PATH = "py/queue/tests/test_queue.py"

ipynose.show_nose_result(EXAMPLE_TEST_PATH)

test_dequeue ... ok
test_enqueue_when_empty ... ok
test_enqueue_when_not_empty ... ok
test_make_queue ... ok
test_peek ... ok

----------------------------------------------------------------------
Ran 5 tests in 0.001s

OK

Metadata

Release files for ipynose 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ipynose 0.0.2
File Size Uploaded
ipynose-0.0.2.tar.gz 2.1 kB Details

Release files / ipynose-0.0.2.tar.gz

Download URL ipynose-0.0.2.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b4bdfa6343f4cab93333cfa8d61acb33c2f53397e83b0ed17c5c384b1a513a09
BLAKE2b-256 checksum
How to use checksums
a93818ebe4d7a7f15a1ab907116fbecfa2930ae72554ff25b920d2a36b1cc28f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

0.0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page