EasyEngine / EasyEngine/site-command

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

Aperta
#375 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
PHP
Stelle
18
Fork
28
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

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?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

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.

Valutazione

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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.