Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[QUESTION] How to run `behat` tests against vendor/easyengine/*

Aperta
#375 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
php
Ambito
testing, tooling

Direzione di ricerca

Inizia dalla configurazione Behat del repository e dall'entry point vendor/bin/behat, quindi riproduci i tre comandi --dry-run su vendor/easyengine/site-command e features/labels.feature. Il lavoro è completato quando hai identificato il percorso o la configurazione supportati per queste funzionalità del vendor e documentato un comando che individui gli scenari previsti.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

I am having a confusing situation when I try to run behat tests, here is how I am doing it:

╭─root@Sys-Beladel ~/workspace/ee-compat74-80/easyengine  ‹compat-php-80*›
╰─➤  pwd
/root/workspace/ee-compat74-80/easyengine
╭─root@Sys-Beladel ~/workspace/ee-compat74-80/easyengine  ‹compat-php-80*›
╰─➤  ls
bin  ci  composer.json  composer.lock  docs  easyengine.phar  features  img-versions.json  LICENSE  migrations  php  phpcs.xml.dist  phpunit.xml.dist  README.md  templates  tests  utils  vendor  vendor0  VERSION
╭─root@Sys-Beladel ~/workspace/ee-compat74-80/easyengine  ‹compat-php-80*›
╰─➤  ./vendor/bin/behat --dry-run vendor/easyengine/site-command
No scenarios
No steps
0m0.02s (9.26Mb)

In ExerciseController.php line 111:

  No specifications found at path(s) `vendor/easyengine/site-command`. This might be because of incorrect paths configuration in your `suites`.


╭─root@Sys-Beladel ~/workspace/ee-compat74-80/easyengine  ‹compat-php-80*›
╰─➤  ./vendor/bin/behat --dry-run vendor/easyengine/site-command/features                                                                                                                                         1 ↵
No scenarios
No steps
0m0.02s (9.26Mb)

In ExerciseController.php line 111:

  No specifications found at path(s) `vendor/easyengine/site-command/features`. This might be because of incorrect paths configuration in your `suites`.


╭─root@Sys-Beladel ~/workspace/ee-compat74-80/easyengine  ‹compat-php-80*›
╰─➤  ./vendor/bin/behat --dry-run vendor/easyengine/site-command/features/labels.feature                                                                                                                          1 ↵
No scenarios
No steps
0m0.02s (9.17Mb)

In ExerciseController.php line 111:

  No specifications found at path(s) `vendor/easyengine/site-command/features/labels.feature`. This might be because of incorrect paths configuration in your `suites`.

As you can see from the output, I tried every possible command but still didn't work for me, would you tell me the correct way to do it?

Lingua principale
PHP
Stelle
18
Fork
27
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di EasyEngine/site-command

Tutte le issue di EasyEngine/site-command

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.