: Re: Nunit Testing & Cassandra
My guess is that it is using object equality to compare. One thing to test
would be to create two KeySlices whose contents had the same values, add them
to separate lists, and then compare the lists. I think you'll find that they
are not 'equivalent
o:miguelitov...@gmail.com]
Sent: Tuesday, May 25, 2010 9:51 AM
To: user@cassandra.apache.org
Subject: Re: Nunit Testing & Cassandra
It would be helpful to know in what way the test fails, or more
information about listOfKeys or the return value of
GetListOfRowKeysFromCF at assert time,
Assert.That(listOfKeys,
Is.EquivalentTo(TestService.GetListOfRowKeysFromCF("ColumnFamilyName","Keyspace1")));
From: Miguel Verde [mailto:miguelitov...@gmail.com]
Sent: Tuesday, May 25, 2010 9:51 AM
To: user@cassandra.apache.org
Subject: Re: Nunit Testing & Cassandra
It would be
It would be helpful to know in what way the test fails, or more information
about listOfKeys or the return value of GetListOfRowKeysFromCF at assert
time, or for that matter what GetListOfRowKeysFromCF is, or the insertion
code.
Also, does Is.EquivalentTo compare object equality on the items insid
Hi all,
I am recent grad and working on Cassandra and Nunit testing.
I wrote a unit test in C# which goes like this
List listOfKeys = new List();
KeySlice item1 = new KeySlice();
KeySlice item2 = new KeySlice();
KeySlice item3 = new KeySlice();