TkTech / ckanext-cloudstorage

Implements support for resource storage against multiple popular providers via apache-libcloud (S3, Azure Storage, etc...)
MIT License
35 stars 55 forks source link

Add tests #2

Open k-nut opened 8 years ago

k-nut commented 8 years ago

We should have tests for this lovely new extension. I'll add some later and use as a way to record progress.

First note: Information on mocking libcloud can be found here: http://empt1e.blogspot.de/2011/02/mocking-libcloud-using-mox.html

TkTech commented 8 years ago

👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍

TkTech commented 8 years ago

Hey @k-nut - have you had a chance to work on this? If you're busy, I will start looking into it next week.

k-nut commented 8 years ago

I actually have not looked into this yet. Would be great if you could do it!

gerbyzation commented 6 years ago

@TkTech @k-nut what's the latest on this? I want to start working on #23 and would be a bit scared to do so without testing! Would be great if we could setup a test structure and maybe some basic tests to make sure existing stuff doesn't break and I'll do my best to test what I touch.

TkTech commented 6 years ago

@gerbyzation I currently receive no funding to actively develop CKAN or extensions, happy to review PRs tho.

k-nut commented 6 years ago

I also currently have no resources to work on this but of course I would encourage you to go ahead and do so yourself!

gerbyzation commented 6 years ago

That's fine, some feedback would be great! I'll need to work out a test setup first (looking at setting something up with docker) and then I'll have a look at the s3filestore extension for some inspiration on tests. Will open a PR once I have made a working start.

gerbyzation commented 6 years ago

Working on some testing as part of #25, any tips and feedback would be very welcome!