Pretty curses-based nose frontend
Project description
Eats the output of a nosetests run, and put it into a nice curses interface, instead of letting nosetests throw a tsunami of output into stdout after all the tests finish.
SCREENSHOTS
INSTALLATION
booger is on pypi:
pip install booger
USAGE
To use booger, you can use either invoke it as a plugin, or call the wrapping script.
nosetests --booger YOUR_TESTS booger YOUR_TESTS
Commands:
Move with up / down arrow keys, or n / p (next/previous) keys
On the main testcase listing, with a selected testcase, press:
t for traceback
o for stdout
l for logging output
In the traceback view, press:
v to toggle the current frame’s variable view
On the stdout/logging views, page up/page down also work, as you would expect
q quits the current activity, or closes the curses interface
MOTIVATION
If you’ve ever threw nosetests on a big test suite, and a few of those tests happened to be broken with a ton of logging going on (as it should be), then you’re going to have a bad time scrolling around trying to find the most pertinent information first.
Booger is an effort to give you the best information first, with more information easily available, quickly.
To this end, booger will progressively show you which tests are failing with the last line of the error’s traceback along with the actual error, and make the stdout, logging, and the full traceback with the variables at each frame available.
Questions that will probably be asked frequently
Q: Really? Toilet Humor?
A: Yup
Q: Where can I report bugs?
A: Please use the project’s github bug tracker
LICENSE
The MIT License (MIT)
Copyright (c) <2012-2014> <thenoviceoof>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file booger-0.4.5.tar.gz
.
File metadata
- Download URL: booger-0.4.5.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 441514cae6a9d17e6772e57315e0d64aa54583aaa6df7825b9db890a3af2d584 |
|
MD5 | ef3fb2ed7837b6a4cb05858d363f06ef |
|
BLAKE2b-256 | 3e6790fd288fb542a513c4b4c6c4ed6d0ba2a309ebf44cf3c12c4efbd4f8f86c |