BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//pretalx//programme.europython.eu//europython-2026//speaker//S8EG
 EB
BEGIN:VTIMEZONE
TZID:Poland
BEGIN:DAYLIGHT
DTSTART:20250716T000000
TZNAME:CEST
TZOFFSETFROM:+0200
TZOFFSETTO:+0200
END:DAYLIGHT
BEGIN:STANDARD
DTSTART:20251026T030000
RDATE:20261025T030000
TZNAME:CET
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:20260329T030000
RDATE:20270328T030000
TZNAME:CEST
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
SUMMARY:Leverage pytest's Fixture to write focused and highly decoupled te
 sts - Antonio Spadaro
DTSTART;TZID=Poland:20260716T143000
DTEND;TZID=Poland:20260716T150000
DTSTAMP:20260823T012503Z
UID:pretalx-europython-2026-A73TSA@programme.europython.eu
DESCRIPTION:Everyone knows that tests are important\, but not many people 
 like writing them. That doesn’t happen because they don’t consider tes
 ts worth the time\, but because writing them looks boring\, repetitive\, a
 nd\, somehow\, sometimes the test suite suddenly becomes a burden to maint
 ain.\n\nA common situation is:\n\n- You edit one line of code\, and the wh
 ole test suite no longer works.\n- When you open the first test\, you have
  absolutely no idea what it is supposed to test.\n- 80% of the test’s li
 nes are not about the test.\n- The remaining 20% of the lines are scattere
 d throughout the other 80% of the lines.\n- You manage to fix it\, but it 
 has been frustrating.\n- You open another test\, same situation\, and mayb
 e the same fix is needed.\n- Frustration goes up.\n- Writing tests have be
 come annoying...\n\nSince writing tests can’t (and shouldn’t!) be avoi
 ded\, let’s try to improve the way both single tests and the whole test 
 suite are written.\n\nWith this talk\, thanks to both paradigms and pytest
 ’s Fixtures\, you will learn to:\n\n- Reduce coupling with the codebase.
 \n- Keep each test focused on what it needs to test.\n- Avoid code duplica
 tion among tests.\n- Improve tests’ setup and teardown.
LOCATION:S3A
URL:https://programme.europython.eu/europython-2026/talk/A73TSA/
END:VEVENT
END:VCALENDAR
