CondeNast / perf-timeline-cli

Generate Chrome Performance Timelines via a command line interface
Apache License 2.0
103 stars 4 forks source link

Add tests for the CLI interface #3

Open tollmanz opened 6 years ago

tollmanz commented 6 years ago

Yargs does a fantastic job of providing a lot of great magic around CLI options. It's easy to get complacent around this and not verify the interface. I would like to write tests that programmatically evoke the CLI interface to ensure that the options provide the interface that the docs suggest.