[ckan-dev] nose plugin for ckan
Seb Bacon
seb.bacon at gmail.com
Sun Feb 6 10:23:58 UTC 2011
Sounds sensible.
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
>
>
--
skype: seb.bacon
mobile: 07790 939224
land: 0207 183 9618
web: http://baconconsulting.co.uk
More information about the ckan-dev
mailing list