On Aug 31, 2010, at 1:17 PM, Sean Cribbs wrote:
> The testing harness is slated for the 0.9 release. I wanted it "now" but
> that would mean delaying the next release too much. The current plan is to
> give the harness the location of your Riak installation, and it will start
> Riak up with a memory backend, and bounce it when you tell it to.
That would be very cool. Can't wait for it!
Keeping delete-by-bucket on the wish list would still be nice, I could see it
very useful down the road as we iterate with data shapes and deal with data
migrations.
>
> riak-qc.js uses qc.js's conventions, for better or worse. I initially tried
> unit-testing frameworks for Javascript, but most had too much dependence on
> the BOM, which is pointless for Riak functions. QC fits nicely because of the
> isolated, side-effect free nature of map and reduce functions, and the
> declarative nature of the tests.
>
Yea, I agree. Do you have any pointers or thoughts on conventions for
integrating QC into a rails app?
Since I've adopted using moonshine, I was thinking of sticking the M/R scripts
in #{Rails.root}/app/manifests/templates/riak and then the tests in
#{Rails.root}/qc. Then working out the devops to load the up any mr files for
my dev/test environment.
--
Brian
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com