Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 697 Bytes

File metadata and controls

25 lines (19 loc) · 697 Bytes
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.sh

For a watch loop:

docker compose watch
docker compose exec tests web/modules/custom/meilisearch/scripts/phpunit

Coding 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