Re: cassandra client testing

2016-02-09 Thread Will Hayworth
I've never seen Scassandra before--neat!

For what it's worth, we just use a test keyspace with a lower RF (that is
to say, 1). The tables are identical to our prod keyspace, but the
permissions are different for the user on our Bamboo instances so that we
can test things like table creation etc.

___
Will Hayworth
Developer, Engagement Engine
Atlassian

My pronoun is "they". 



On Tue, Feb 9, 2016 at 2:47 PM, Jeff Jirsa 
wrote:

> http://www.scassandra.org/
>
> From: Abdul Jabbar Azam
> Reply-To: "user@cassandra.apache.org"
> Date: Tuesday, February 9, 2016 at 2:23 PM
> To: "user@cassandra.apache.org"
> Subject: cassandra client testing
>
> Hello,
>
> What do people do to test their cassandra client code? Do you
>
> a) mock out the cassandra code
> b) use a framework which simulates cassandra
> c) actually use cassandra, perhaps inside docker
>
>
> --
> Regards
>
> Abdul Jabbar Azam
> twitter: @ajazam
>


Re: cassandra client testing

2016-02-09 Thread Jeff Jirsa
http://www.scassandra.org/

From:  Abdul Jabbar Azam
Reply-To:  "user@cassandra.apache.org"
Date:  Tuesday, February 9, 2016 at 2:23 PM
To:  "user@cassandra.apache.org"
Subject:  cassandra client testing

Hello, 

What do people do to test their cassandra client code? Do you 

a) mock out the cassandra code 
b) use a framework which simulates cassandra
c) actually use cassandra, perhaps inside docker


-- 
Regards

Abdul Jabbar Azam 
twitter: @ajazam



smime.p7s
Description: S/MIME cryptographic signature


Re: cassandra client testing

2016-02-09 Thread Abdul Jabbar Azam
This looks really good. I can see in master that java driver 3.0 support
has been added.

I can't see out how to generate exceptions. I'd like to test my akka
supervisor hierarchy as well.

On Tue, 9 Feb 2016 at 22:48 Jeff Jirsa  wrote:

> http://www.scassandra.org/
>
> From: Abdul Jabbar Azam
> Reply-To: "user@cassandra.apache.org"
> Date: Tuesday, February 9, 2016 at 2:23 PM
> To: "user@cassandra.apache.org"
> Subject: cassandra client testing
>
> Hello,
>
> What do people do to test their cassandra client code? Do you
>
> a) mock out the cassandra code
> b) use a framework which simulates cassandra
> c) actually use cassandra, perhaps inside docker
>
>
> --
> Regards
>
> Abdul Jabbar Azam
> twitter: @ajazam
>
-- 
Regards

Abdul Jabbar Azam
twitter: @ajazam


Re: cassandra client testing

2016-02-09 Thread Abdul Jabbar Azam
Hello Will,

I'll give scassandra a try first, otherwise use a test keyspace.

On Tue, 9 Feb 2016 at 22:52 Will Hayworth  wrote:

> I've never seen Scassandra before--neat!
>
> For what it's worth, we just use a test keyspace with a lower RF (that is
> to say, 1). The tables are identical to our prod keyspace, but the
> permissions are different for the user on our Bamboo instances so that we
> can test things like table creation etc.
>
> ___
> Will Hayworth
> Developer, Engagement Engine
> Atlassian
>
> My pronoun is "they". 
>
>
>
> On Tue, Feb 9, 2016 at 2:47 PM, Jeff Jirsa 
> wrote:
>
>> http://www.scassandra.org/
>>
>> From: Abdul Jabbar Azam
>> Reply-To: "user@cassandra.apache.org"
>> Date: Tuesday, February 9, 2016 at 2:23 PM
>> To: "user@cassandra.apache.org"
>> Subject: cassandra client testing
>>
>> Hello,
>>
>> What do people do to test their cassandra client code? Do you
>>
>> a) mock out the cassandra code
>> b) use a framework which simulates cassandra
>> c) actually use cassandra, perhaps inside docker
>>
>>
>> --
>> Regards
>>
>> Abdul Jabbar Azam
>> twitter: @ajazam
>>
>
> --
Regards

Abdul Jabbar Azam
twitter: @ajazam