andrasbeni commented on issue #17132:
URL: https://github.com/apache/pulsar/issues/17132#issuecomment-1261974417

   @codelipenghui , I believe integration tests are too expensive to do a full 
validation of output and command line parameters. Having taken a quick look at 
admin command implementations and `PulsarAdminToolTest`, it looks to me that 
admin commands are designed to be easily unit tested: the `PulsarAdmin` can be 
mocked by setting a `Supplier` and `CaptureStdOut` makes their output 
verifiable.  So, in my opinion, we would be much better off writing unit tests 
for all these.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to