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

Pavel Yaskevich commented on CASSANDRA-1582:
--------------------------------------------

I think that it is helpful because that way we can catch regressions in the 
grammar with is also a big issue (even bigger that evaluation at some point). 
As CLI depends on the running cassandra server (for doing evaluation tests) I 
think I can set up test environment which will start cassandra and run tests 
but I'm pretty sure it should be done separately from main `ant test`, what do 
you think if we do `ant cli-test` task which will compile project and run tests 
for cli, say placed in the src/cli-test directory? I'm not a big Ant expert so 
it will require some investigation to be done...

> create tests for cli
> --------------------
>
>                 Key: CASSANDRA-1582
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1582
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Tools
>            Reporter: Jonathan Ellis
>            Assignee: Pavel Yaskevich
>             Fix For: 0.7.1
>
>
> Would like to have a test for each command so we have a least a little 
> protection against regressions.  No idea how to do this.  Expect? 
> http://en.wikipedia.org/wiki/Expect

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to