-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pwntools doctest execution in Sphinx #30
Comments
Here's something that may help out a bit. The current documentation is generated via the By comparing the modules which are listed with these helpers, versus the files which have doctests in them, you should be able to identify some of the gaps. For example,
Meanwhile, here's the list of everything that looks like it has a doctest in it:
|
This pull request should also not be against this repository, but against https://github.com/binjitsu/binjitsu. |
Hi Zach, I can talk tonight if you are able. I live in DC. Darrell Zach Riggle [email protected] wrote:
|
Darrell Check your inbox for mail from Melange Zach |
Hey Zach, I'm available to meet know if you are able. Call, text, or video chat Darrell Cell 202-725-5946 On Sun, Apr 5, 2015 at 6:07 PM, Zach Riggle [email protected]
|
Doctest in Sphinx Write Up
Find test differential and test modules not included in execution of
$ PWNLIB_NOTERM=1 make clean doctest
Sphinx = 941 vs 967 => difference of 26 tests.
Comparison of the Sphinx results to Pwntools Library resulted in the following list of unreported tests.
About
Atexception
Commandline
Dynelf
Elf
Environment.pickle
Exception
Index
Install
Log
Replacements
Term
UI
Tubes/Serial
Util/Net
Util/Hashes
Install/Binutils
Install/Headers
Shellcraft/Common
Getting Sphinx to execute the previous list of tests
Current efforts of first finding the files lead me to
/binjitsu/pwnlib which contain .py and .pyc
/binjitsu/docs/source which contain .rst
/binjitsu/docs/build/doctree which contain .doctree
Attempt to include missing test include
sphinx-quickstart with --ext-doctest extension
sphinx-build
sys.path update to include '/binjitsu/pwnlib'
all of which have yet to yield the desired results.
The text was updated successfully, but these errors were encountered: