FastAPI - 12.1 Testing con Fixtures
Happy Backending
Riutilizzo dei dati output di un test in un altro test con utilizzo di #fixture di #pytest , creazione delle dipendenze fra i singoli test.
Consiglio prima di vedere il video sul setup del testing: https://www.youtube.com/watch?v=jNhTfwahkDY
šµ LINK AL GRUPPO TELEGRAM: https://t.me/happybackending š° FEED TELEGRAM: https://t.me/happybackending_feed
šļø Programma del corso: https://halon.cc/fastapi-series/
š link a GitHub: https://github.com/halon176/HappyBackending/tree/master/FastAPI_Serie/12-1-fixtures
link utili: fastapi testing: https://fastapi.tiangolo.com/tutorial/testing/ pytest: https://docs.pytest.org/ pytest fixtures: https://docs.pytest.org/en/stable/explanation/fixtures.html
ā±ļø Capitoli: 00:00 intro 01:19 spiegazione decoratore pytest 04:00 scrittura fixture 05:47 passaggio dati fra i test 07:36 test del bearer token 12:32 outro #python ... https://www.youtube.com/watch?v=X44HmDT9vLU
62766063 Bytes