EasyEngine / EasyEngine/site-command

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

Offen
#375 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
PHP
Sterne
18
Forks
28
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Beginne mit der Behat-Konfiguration des Repositorys und dem Einstiegspunkt vendor/bin/behat, und führe dann die drei --dry-run-Befehle für vendor/easyengine/site-command und features/labels.feature erneut aus. Erledigt ist die Aufgabe, wenn der unterstützte Pfad oder die Konfiguration für diese Vendor-Features identifiziert und ein Befehl dokumentiert wurde, der die erwarteten Szenarien entdeckt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
php
Bereich
testing, tooling
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.