Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 21654 invoked from network); 12 Oct 2010 14:37:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Oct 2010 14:37:58 -0000 Received: (qmail 89286 invoked by uid 500); 12 Oct 2010 14:37:58 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 89139 invoked by uid 500); 12 Oct 2010 14:37:56 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 89130 invoked by uid 99); 12 Oct 2010 14:37:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Oct 2010 14:37:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Oct 2010 14:37:54 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9CEbYLZ023985 for ; Tue, 12 Oct 2010 14:37:34 GMT Message-ID: <15280668.96701286894254242.JavaMail.jira@thor> Date: Tue, 12 Oct 2010 10:37:34 -0400 (EDT) From: "Eric Evans (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Commented: (CASSANDRA-1582) create tests for cli In-Reply-To: <14351289.8251286380532000.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-1582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12920220#action_12920220 ] Eric Evans commented on CASSANDRA-1582: --------------------------------------- The system tests would be a good template for how to go about something this I think. Even better, write the tests in Python and you can take advantage of the existing infrastructure for starting, stopping, and cleaning up after a test instance (see test/system/__init__.py). > 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.