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

[Q] What's the difference between running traditional tests and using the Yii module?

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

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
20/100
Tipo di issue
Documentazione
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
php
Ambito
testing

Direzione di ricerca

Inizia leggendo la documentazione del modulo Yii e confrontandola con l’approccio tradizionale ai test funzionali di Yii descritto nell’issue. Un risultato utile spiegherebbe chiaramente la differenza, le implicazioni delle chiamate a header ed exit e se sia fattibile integrare con Codeception i test generati dal framework.

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

Descrizione

I'm new to functional testing and got confused when reading about the Yii module documentation.
What's the difference between running tests using the module and not using?

I thought at first that the tests would load the page and work on them as a user would (externally), instead of dealing with the page inside the test's code - what would trigger issues with header and exit calls as stated.

I guess running the tests that way would be more resource intensive and slow? Is it that bad the way we currently have to test Yii apps?

Would there be a way to integrate the tests generated by the framework with Codeception instead?

Lingua principale
PHP
Stelle
21
Fork
18
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 Codeception/YiiBridge

Tutte le issue di Codeception/YiiBridge

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.