ArnavBalyan opened a new pull request, #3296:
URL: https://github.com/apache/parquet-java/pull/3296

    - Currently parquet does not have a good mechanism to have e2e testing for 
CLI
    - Developers have to manually call methods on the concrete class instead of 
the actual CLI route, this makes testing hard and prone to errors.
    <br>
   
   
   
    - This change introduces a test harness which is a wrapper over main CLI 
class and provides utilities to implement CLI tests easily.
    - Users can simply test with single line of code such as: 
cli("command").ok().matchOutputFromFile("txt"). The harness provides some other 
utilities like `linecount`, `partial match` etc.
    - The CLI output can be added to a txt to ensure readability and test the 
actual console output


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to