It would be great to have some simple unit tests:
python script.py -h runs without syntax errors
python script.py --display-name works
python script --print-options returns valid JSON
- grabbing the options from
--print-options and returning defaults to python script.py --generate-input works
The last one takes some work (e.g., going through the options JSON and creating default JSON) but these would be helpful to make sure everything checks out.
It would be great to have some simple unit tests:
python script.py -hruns without syntax errorspython script.py --display-nameworkspython script --print-optionsreturns valid JSON--print-optionsand returning defaults topython script.py --generate-inputworksThe last one takes some work (e.g., going through the options JSON and creating default JSON) but these would be helpful to make sure everything checks out.