palantirnet / drupal-10-development Goto Github PK
View Code? Open in Web Editor NEWA minimal project build for Drupal 10 module development
License: GNU General Public License v2.0
A minimal project build for Drupal 10 module development
License: GNU General Public License v2.0
I set a basic environment with the recommended commands in the readme
ddev start
ddev composer install
ddev auth ssh
ddev install
I run the tests using the provided command "ddev test ". All the Functional tests fail with the error "Test was run in child process and ended unexpectedly", this is consistent between different modules, i tried "examples", and "domain" for example. The Kernel tests work fine.
This is an sample output from "ddev test examples":
✘ Add fields
┐
├ Test was run in child process and ended unexpectedly
│
╵ /var/www/html/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
╵ /var/www/html/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
╵ /var/www/html/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:651
╵ /var/www/html/vendor/phpunit/phpunit/src/TextUI/Command.php:144
╵ /var/www/html/vendor/phpunit/phpunit/src/TextUI/Command.php:97
┴
✘ Create admin permission
┐
├ Test was run in child process and ended unexpectedly
│
╵ /var/www/html/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
╵ /var/www/html/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
╵ /var/www/html/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:651
╵ /var/www/html/vendor/phpunit/phpunit/src/TextUI/Command.php:144
╵ /var/www/html/vendor/phpunit/phpunit/src/TextUI/Command.php:97
┴
Contact (Drupal\Tests\content_entity_example\Kernel\Contact)
✔ Entity
Cron Example (Drupal\Tests\cron_example\Functional\CronExample)
✘ Cron example basic
┐
├ Test was run in child process and ended unexpectedly
│
╵ /var/www/html/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
╵ /var/www/html/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
╵ /var/www/html/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:651
╵ /var/www/html/vendor/phpunit/phpunit/src/TextUI/Command.php:144
╵ /var/www/html/vendor/phpunit/phpunit/src/TextUI/Command.php:97
╵ /var/www/html/vendor/bin/phpunit:122
┴
Dbtng Example (Drupal\Tests\dbtng_example\Functional\DbtngExample)
✘ Dbtng example
┐
├ Test was run in child process and ended unexpectedly
│
╵ /var/www/html/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
╵ /var/www/html/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
╵ /var/www/html/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:651
╵ /var/www/html/vendor/phpunit/phpunit/src/TextUI/Command.php:144
╵ /var/www/html/vendor/phpunit/phpunit/src/TextUI/Command.php:97
╵ /var/www/html/vendor/bin/phpunit:122
┴
✘ Ui
┐
├ Test was run in child process and ended unexpectedly
│
╵ /var/www/html/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
╵ /var/www/html/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
╵ /var/www/html/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:651
╵ /var/www/html/vendor/phpunit/phpunit/src/TextUI/Command.php:144
╵ /var/www/html/vendor/phpunit/phpunit/src/TextUI/Command.php:97
╵ /var/www/html/vendor/bin/phpunit:122
┴
Dbtng Example Repository (Drupal\Tests\dbtng_example\Kernel\DbtngExampleRepository)
✔ Dbtng example storage
Hello, thanks a lot for a great project.
Someone in Drupal slack suggest me to us this build, and it's very easy to use.
I am working on enabling PHPStan check for pagerer module issue #3402666.
I use ddev stan pagerer -l 2
to run check, but I get much more warnings and errors locally than I have in Gitlab CI (pipeline).
Do you have any ideas why this can happen?
I was trying to generate new phpstan-baseline.neon
file. But I wasn't able to pass argument --generate-baseline
to ddev stan
command. Do you how to do that?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.