[ 
https://issues.apache.org/jira/browse/CASSANDRA-15942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17158224#comment-17158224
 ] 

Berenguer Blasi commented on CASSANDRA-15942:
---------------------------------------------

The current PR:
- Enables JMX in {{CQLTester}} to be used as base test class for tools needing 
it
- A new {{ToolRunner}} class provides convenience methods to run a tool or it's 
main class (if java) and capture out, err, exit code, etc easily in tests
- Tools/classes can be run 'in process' or as a new process
- The current existing nodetool tests have been migrated as examples

This POC should be the basis on how we'll be testing tools. If this gets +1 
next step will be to extend it to other tools/scenarios

> Tooling testing foundation
> --------------------------
>
>                 Key: CASSANDRA-15942
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15942
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Test/unit
>            Reporter: Berenguer Blasi
>            Assignee: Berenguer Blasi
>            Priority: Normal
>             Fix For: 4.0-beta
>
>
> Tooling testing is not as thorough as we'd like it to be. The purpose of this 
> ticket, under the umbrella of CASSANDRA-15583, is to provide the foundations 
> to make it easy for devs, migrate the few existing tests as a POC and put 
> that forward as a proposal to build on top of.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to