Issue #494 closed
PyH
created an issue

It will be useful to have plugin that process argparse parser coverage.

  1. Was all subcommands called?
  2. Was all options parsed with default and non-default values?
  3. Was all argument choices selected?

Comments (2)

  1. Ned Batchelder repo owner

    This is an interesting idea, thanks! I'm not sure how to access the information about what argparse has processed. This dips our toe into the entirely unexplored area of "data coverage": rather than considering what lines of code have been executed, it's a focus on what values of data have been used from the domain in question. Honestly, I have no idea how to tackle something like that.

  2. Log in to comment