Git Product home page Git Product logo

drupal-10-development's People

Contributors

agentrickard avatar byrond avatar iajon avatar payekumi avatar ramirezjacobc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

drupal-10-development's Issues

"Test was run in child process and ended unexpectedly" on all functional tests.

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

Using PHPStan on contrib module develompnent.

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.

  1. 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?

  2. 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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.