ckanext-cloudstorage icon indicating copy to clipboard operation
ckanext-cloudstorage copied to clipboard

Add tests

Open k-nut opened this issue 8 years ago • 8 comments

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

k-nut avatar Jun 20 '16 15:06 k-nut

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

TkTech avatar Jun 20 '16 16:06 TkTech

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

TkTech avatar Jul 11 '16 15:07 TkTech

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

k-nut avatar Jul 12 '16 12:07 k-nut

@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 avatar Jan 12 '18 12:01 gerbyzation

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

TkTech avatar Jan 13 '18 01:01 TkTech

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

k-nut avatar Jan 15 '18 08:01 k-nut

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 avatar Jan 15 '18 12:01 gerbyzation

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

gerbyzation avatar Jan 31 '18 14:01 gerbyzation