npm install
grunt build
Unit tests live in tests/ (Codeception, same layout as the other CUZY modules) and run against the core test
database (HUMHUB_PATH is the path of the HumHub core checkout):
cd tests
php $HUMHUB_PATH/protected/vendor/bin/codecept build # once
php $HUMHUB_PATH/protected/vendor/bin/codecept run unit
The module tables must exist in the test database. Create them once with the test console:
php $HUMHUB_PATH/protected/humhub/tests/codeception/bin/yii module/enable classified-space --interactive=0
ClassifiedSpaceTestCase classifies the spaces of the core fixtures in a small category tree (see its docblock);
every test class extends it.