| title | Development |
|---|
The test suite runs against a real Meilisearch, including Search API's backend conformance suite.
scripts/test.sh # everything
scripts/test.sh tests/src/Unit # a subset
MEILISEARCH_VERSION=v1.16 scripts/test.shFor a watch loop:
docker compose watch
docker compose exec tests web/modules/custom/meilisearch/scripts/phpunitCoding standards and static analysis, as on drupal.org CI:
docker compose run --rm tests vendor/bin/phpcs --standard=Drupal,DrupalPractice web/modules/custom/meilisearch
docker compose run --rm tests vendor/bin/phpstan analyse -c web/modules/custom/meilisearch/phpstan.neon