[ckan-dev] nose plugin for ckan

David Read david.read at okfn.org
Sat Feb 5 10:58:20 UTC 2011


David,

I'll take a look. Cheers,

Dave

On 4 February 2011 23:36, David Raznick <kindly at gmail.com> wrote:

> Hello
>
> I have pushed some code to branch bug_955_tidy_up_tests. That I hope this
> will be a start to sorting out the test situation once and for all.
>
> I have added a ckan nose plugin.  It does 2 things...
>
>  1.   Make sure init_db at is always run at the class_setup stage.
>  2.   Add a config option to nosetests called ckan_ini.  You can specify
> what ini you want to use for the tests.
>        i.e  you can run nosetests  --ckan_ini=myini.ini
>
> I think that we should develop the plugin further for our needs and add
> more config options.  For example it will be easy to add a --fast option
> that does not run the functional tests.  The plugin api is very rich and
> easy.
>
> David
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20110205/3d1c087f/attachment-0001.html>


More information about the ckan-dev mailing list