[Radiant] Testing extensions from a git-clone

Sean Cribbs seancribbs at gmail.com
Tue May 6 22:05:25 CDT 2008


Daniel,

You'll need to setup config/database.yml, then bootstrap your 
development database and prepare the test database.  I like to symlink 
the sqlite3 example config like so:

$ cd config; ln -s database.sqlite.yml database.yml
$ rake db:bootstrap
$ rake db:test:prepare

Then run 'rake spec' or 'autotest' to run the behavior examples.

Sean

Daniel Collis-puro wrote:
> I'm interested in contributing more to Radiant, but I'm a bit confused
> about how to get my test environment fully functional.
>
> On:
> http://dev.radiantcms.org/
>
> under:
> 2. Get Radiant ready for patching:
>
> it says "Setup your environment in a way to be able to run the unit
> tests". . .
>
> Can any of you give an overview of how to set up a git-cloned Radiant to
> be able to run tests fully?
>
> Thanks!
>
> --DJCP
>   



More information about the Radiant mailing list