Discover and read the best of Twitter Threads about #pytest

Most recents (2)

Aqui vamos de nuevo, A petición de @ramloarc
vamos a empezar a compartir más contenido #backend

Seguimos con:

¿Cómo aprendí #Django y #python?

La vieja confiable documentación.

Pásenle que hay mucho trabajo remoto

docs.python.org/3/tutorial/ind…
@ramloarc Mi primer sitio web como #backend yo lo hice con #Django, quede enamorado del framework

Sigan el paso a paso de esta documentacion y tambien tendran su sitio
docs.djangoproject.com/en/3.2/intro/t…
@ramloarc Hace 2 años me puse a hacer mi "proyecto Insignia", donde aplique la mayor cantidad de habilidades posibles.

github.com/luismejiadev/s…
Read 14 tweets
Are you confused about pytest's fixtures?

Do you struggle to understand them?

#100daysOfCode #pytest #Python

🧵This one is for you👇
1️⃣ pytest's fixtures are functions decorated with "pytest.fixture" decorator

They can return value or produce side effects like creating/removing a database.

They can be located inside conftest.py or inside the test file.
2️⃣ To use the value returned from the fixture function inside a test you need to add a parameter with the same name as the fixture function.
Read 9 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!