Invoking the CLI as a separate process should be a single proof-of-concept test, not a general way of testing the service.
Having the code under test running in a separate process makes it much less easy to debug. Integrate the component tests into the lib rather than the bin wrapper.
Invoking the CLI as a separate process should be a single proof-of-concept test, not a general way of testing the service.
Having the code under test running in a separate process makes it much less easy to debug. Integrate the component tests into the lib rather than the bin wrapper.