EasyEngine / EasyEngine/easyengine

Correct EasyEngine update command - Behat tests

Aperta
#1,144 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
PHP
Stelle
2.2k
Fork
424
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

The update behat test according to current implementation generates a phar and after update it replaces itself with the existing published phar. Hence it downgrades in reality instead of upgrading to the latest version which has not yet been released. Thus, the subsequent tests use the stable released phar which replaced the original latest changes phar. Giving no meaning to the tests performed then after in checking if they are in any way breaking update functionality or anything else.

The tests need to be updated to use the stable released phar in start and then update itself to the phar made of latest changes.

Steps to update the test will be updated here or in comments later with the inputs from @rahulsprajapati and @kirtangajjar. Any suggestions for the same are welcome.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Individua il test di aggiornamento di Behat e la relativa configurazione per la generazione e la sostituzione del phar. Inizia tracciando quale phar viene utilizzato prima e dopo l'aggiornamento; il lavoro è completo quando il test inizia con il phar stabile rilasciato, passa al phar creato a partire dalle modifiche correnti e quindi verifica il comportamento dell'aggiornamento successivo.

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

Valutazione

Stack tecnologico
php
Ambito
cli, testing-qa
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.