Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Documentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DevOps Tools
Documentation
Commits
cc3fef59
Commit
cc3fef59
authored
10 months ago
by
danielspeicher
Browse files
Options
Downloads
Patches
Plain Diff
Document Drupal Development Env:
composer/plugin/drupal-development-environment#1
parent
3a22e1b3
No related branches found
Branches containing commit
No related tags found
1 merge request
!7
Develop
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/composer/plugin/drupal-dev-environment/index.md
+2
-2
2 additions, 2 deletions
docs/composer/plugin/drupal-dev-environment/index.md
docs/dev_tools/test.md
+21
-3
21 additions, 3 deletions
docs/dev_tools/test.md
with
23 additions
and
5 deletions
docs/composer/plugin/drupal-dev-environment/index.md
+
2
−
2
View file @
cc3fef59
...
...
@@ -20,5 +20,5 @@ It provides a massive amount of testing tools, which can be executed out of the
-
[
PHP LOC
](
../../../dev_tools/test.md#php-loc
)
-
[
PHP Mess Detection
](
../../../dev_tools/test.md#php-mess-detection
)
-
[
PHP Metrics
](
../../../dev_tools/test.md#php-metrics
)
-
[
PHP
Stylelint
](
../../../dev_tools/test.md#
php-code-sniffer
)
-
[
Eslint
](
../../../dev_tools/test.md#
php-code-sniffer
)
-
[
Stylelint
](
../../../dev_tools/test.md#
stylelint
)
-
[
Eslint
](
../../../dev_tools/test.md#
es-lint
)
This diff is collapsed.
Click to expand it.
docs/dev_tools/test.md
+
21
−
3
View file @
cc3fef59
...
...
@@ -46,10 +46,10 @@ We have several tools to perform static code analysis.
-
[
PHP PHPStan
](
#php-stan
)
-
[
PHP Lint
](
#php-lint
)
-
[
PHP LOC
](
#php-loc
)
-
[
PHP Mess Detection
](
../../../dev_tools/test.md
#php-mess-detection
)
-
[
PHP Mess Detection
](
#php-mess-detection
)
-
[
PHP Metrics
](
#php-metrics
)
-
[
PHP
Stylelint
](
../../../dev_tools/test.md#php-code-sniffer
)
-
[
Eslint
](
../../../dev_tools/test.md#php-code-sniffer
)
-
[
Stylelint
](
#stylelint
)
-
[
Eslint
](
#es-lint
)
### PHP Code Sniffer
...
...
@@ -205,6 +205,24 @@ If you want to analyse a custom module, just do the following:
a test phpmetricsmodule ../custom/<custom_module>
```
### Stylelint
With
`Stylelint`
you can test and analyse
`css`
file in your module.
You first have to install and set up the toll with the following command:
```
style
a test stylelintprepare
```
Now all you need is installed and set up. Execute the following command to run the test:
```
style
a test stylelintmodule <contrib_module>
```
### ES Lint
## Unit/Kernel/Functional Testing
To execute the tests, you can use a single command:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment