[ckan-dev] CKAN testing questions
Sean Hammond
sean.hammond at okfn.org
Fri Jun 8 09:29:13 UTC 2012
Hi Jim,
> I'm doing a clean install of 1.7.1 via source this week and I have a
> couple of questions about the tests...
>
> Referring to the testing part of the docs here:
> http://docs.ckan.org/en/ckan-1.7/test.html#basic-tests
>
> My CKAN .ini file is not named "development.ini" so I just made a copy
> in the same folder that is named "development.ini" -- is that OK or is
> it going to cause any of the tests to fail?
That's fine and shouldn't cause any problems. You could also make a
symlink called development.ini to your ini file.
> If the latter, is there a way to run the nosetests command against a
> specified .ini file as opposed to the hardcoded development one?
I don't think there is, the nosetests command has the -c option but from
a very brief trial doesn't seem to do what I expected.
> I guess that's just one question despite the subject line but I'm sure
> I'll have more once I start reviewing the results of the tests that
> failed :-)
Feel free to send them on :)
More information about the ckan-dev
mailing list