You can clone with
Cannot retrieve contributors at this time
How to Unit test a Zotonic install.---------------------------------Basic tests:./runtests.sh This starts the zotonic system and executes all EUnit tests. However, you will see a lot of failing tests, since the sandboxed testenvironment is not started by default, since this needs some setupregarding the database and hostname.The sandbox test environment is located at priv/sites/testsandbox, andbehaves just like a regular zotonic site. Create a database like this:CREATE DATABASE zotonic_testsandbox WITH OWNER = zotonic ENCODING = 'UTF8';GRANT ALL ON database zotonic_testsandbox TO zotonic;Rename the priv/sites/testsandbox/config.in file to config, and editit to setenabled = true, and adjust the database settings.Now, create a hosts entry pointing to localhost:127.0.0.1 testsandboxNow, when you start ./runtests.sh the tests which involve thetestsandbox will be included. At this point you can also point yourbrowser to http://testsandbox:8000/ to see the sandbox site.