From 21ea631e696d4cd0c9ae5231f6356fb6441b9355 Mon Sep 17 00:00:00 2001 From: Daniel Speicher <daniel.speicher@lakedrops.com> Date: Fri, 31 May 2024 08:00:40 +0200 Subject: [PATCH] Document Drupal Development Env: composer/plugin/drupal-development-environment#1 --- docs/dev_tools/test.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/dev_tools/test.md b/docs/dev_tools/test.md index 3008d3c..c5b4ec2 100644 --- a/docs/dev_tools/test.md +++ b/docs/dev_tools/test.md @@ -221,8 +221,26 @@ Now all you need is installed and set up. Execute the following command to run t a test stylelintmodule <contrib_module> ``` +If you want to analyse a custom module, just do the following: + +```style +a test stylelintmodule ../custom/<custom_module> +``` + ### ES Lint +This is another useful tool to test your `css` files. + +```eslint +a test eslintmodule <contrib_module> +``` + +If you want to analyse a custom module, just do the following: + +```eslint +a test eslintmodule ../custom/<custom_module> +``` + ## Unit/Kernel/Functional Testing To execute the tests, you can use a single command: -- GitLab