Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Drupal 8 Scaffold Developer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Composer
plugin
Drupal 8 Scaffold Developer
Commits
fa2a6127
Commit
fa2a6127
authored
6 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Provide list of files in a config file
Add additional arguments to ahoy commands
parent
36710869
No related branches found
Branches containing commit
Tags
v1.6.4
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ahoy.test.yml
+4
-4
4 additions, 4 deletions
ahoy.test.yml
src/Handler.php
+1
-1
1 addition, 1 deletion
src/Handler.php
templates/tests/phpcs.files
+3
-0
3 additions, 0 deletions
templates/tests/phpcs.files
with
8 additions
and
5 deletions
ahoy.test.yml
+
4
−
4
View file @
fa2a6127
ahoyapi
:
v2
commands
:
phpcs
:
cmd
:
ahoy d4d exec vendor/bin/phpcs --standard=DrupalPractice
/var/www/html/web/modules/custom/ /var/www/html/web/profiles/custom/ /var/www/html/web/themes/custom/
cmd
:
ahoy d4d exec vendor/bin/phpcs --standard=DrupalPractice
--file-list=/var/www/html/tests/phpcs.files "$@"
usage
:
PHP coding standards
phpunit
:
cmd
:
ahoy d4d exec vendor/bin/phpunit --configuration /var/www/html/tests/phpunit.xml.dist
cmd
:
ahoy d4d exec vendor/bin/phpunit --configuration /var/www/html/tests/phpunit.xml.dist
"$@"
usage
:
PHP unit tests
phpunit:list:suites
:
cmd
:
ahoy d4d exec vendor/bin/phpunit --configuration /var/www/html/tests/phpunit.xml.dist --list-suites
cmd
:
ahoy d4d exec vendor/bin/phpunit --configuration /var/www/html/tests/phpunit.xml.dist --list-suites
"$@"
usage
:
List available test suites of PHP unit tests
phpunit:list:groups
:
cmd
:
ahoy d4d exec vendor/bin/phpunit --configuration /var/www/html/tests/phpunit.xml.dist --list-groups
cmd
:
ahoy d4d exec vendor/bin/phpunit --configuration /var/www/html/tests/phpunit.xml.dist --list-groups
"$@"
usage
:
List available test groups of PHP unit tests
This diff is collapsed.
Click to expand it.
src/Handler.php
+
1
−
1
View file @
fa2a6127
...
...
@@ -129,7 +129,7 @@ class Handler extends BaseHandler {
}
// Copy Test files.
foreach
([
'phpunit.xml.dist'
]
as
$template
)
{
foreach
([
'phpcs.files'
,
'phpunit.xml.dist'
]
as
$template
)
{
$fs
->
copy
(
$pluginRoot
.
'/templates/tests/'
.
$template
,
'tests/'
.
$template
);
}
...
...
This diff is collapsed.
Click to expand it.
templates/tests/phpcs.files
0 → 100644
+
3
−
0
View file @
fa2a6127
/var/www/html/web/modules/custom/
/var/www/html/web/profiles/custom/
/var/www/html/web/themes/custom/
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