signac-dashboard icon indicating copy to clipboard operation
signac-dashboard copied to clipboard

Add tests of command line functionality

Open bdice opened this issue 2 years ago • 0 comments

Tests are needed to cover options to the CLI run command like ./dashboard.py run --debug --host 0.0.0.0 --port 10099. Debug mode was broken and fixed in #152 but neither @cbkerr nor I could determine a good way to test the CLI, because it launches a server. I tried briefly using multiprocessing and failed. I also read a bit about Flask.test_cli_runner but that didn't seem like the right thing.

bdice avatar Dec 03 '22 04:12 bdice