ckanext-cloudstorage
ckanext-cloudstorage copied to clipboard
Add tests
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
👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍
Hey @k-nut - have you had a chance to work on this? If you're busy, I will start looking into it next week.
I actually have not looked into this yet. Would be great if you could do it!
@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.
@gerbyzation I currently receive no funding to actively develop CKAN or extensions, happy to review PRs tho.
I also currently have no resources to work on this but of course I would encourage you to go ahead and do so yourself!
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.
Working on some testing as part of #25, any tips and feedback would be very welcome!