To build the documentation, run the following command:
doxygen doxygen.cfg
src/patterns
(for example src/patterns/announce_endorsement
)AnnounceIngest.php
) and implement as neededsrc/factory/COARNotifyFactory.MODELS
src/tests/fixtures
(for example, src/test/fixtures/AnnounceIngest.php
)src/tests/unit/TestModels.php
, and confirm it workssrc/tests/unit/TestFactory.php
, and confirm it workssrc/tests/integration/TestClient.php
, and confirm it workssrc/tests/unit/TestValidate.php
, and confirm they workUnit tests are located in src/tests/unit
and can be run with the following command (or your preferred test runner):
Integration tests require a notify inbox to be available
This can be done by starting the test inbox server. To do this you will first need to configure your local settings for the server.
Default configuration is in src/tests/server/settings.php
and can be overridden by providing your own settings in a file called local.php
in the same directory.
Then start the server with the following command:
Integration tests are located in src/tests/integration
and can be run with the following command (or your preferred test runner):
composer.json
TODO