Physics

[FoCC] Automated testing basics

Europe/Rome
Ex-ISEF/Building-Library (GSSI)

Ex-ISEF/Building-Library

GSSI

20
Description

SpeakerJacopo TissinoAlex Coto

Prerequisites: Basic knowledge of python

Setup: a working python shell, installation of pytest and hypothesis (discussed in the repo)

Programming languages: python

Repohttps://github.com/fellowship-of-clean-code/testing

Outline

  • Why test?
  • Writing our first test
  • Automating it with pytest
  • Running tests selectively
  • Fixtures (optional)
  • Debuggers (optional)
  • Ideas for incorporating tests in your project
  • Tests for a properly-structured python project
  • Test-driven development