MITRECND / chopshop

Protocol Analysis/Decoder Framework
https://chopshop.readthedocs.org/
489 stars 112 forks source link

Clean up ChopGrammar and add tests #58

Closed gtback closed 8 years ago

gtback commented 8 years ago

@Mraoul : I made the following changes in this branch:

There should be no changes to any behavior.

Let me know what you think. You can run the tests yourself by installing pytest (pip install pytest or pip install -r dev-requirements.txt) and running py.test from the root of the repository. I can set up Travis-CI to run tests on every push, if you'd like.

gtback commented 8 years ago

@Mraoul: I added tests for all of the option parsing. The entire ChopGrammar.py file is now covered by tests, except for: