Testing

Pubblicato il: 19 marzo 2021
sul canale di: IPSA - Introduction to Programming
708
like

In this video we discuss how Python doc strings and systematic testing can be used to increase the confidence in the correctness of a Python program. The tools doctest, pytest and unittest are introduced together with the IDLE debugger and stack viewer.
Lecture in Danish.

00:00​ Motivation for testing and documentation
10:32​ assert
14:42​ Example integer square root
16:43​ Docstring
18:54​ Defensive programming
23:37​ Testing a predefined set of examples
24:20​ Testing invariants
26:39​ Example: Binary search
34:13​ Differenting testing strategies
36:18​ Visual test
37:20​ doctest
39:23​ pytest
41:25​ unittest
42:20​ Debugger (IDLE)


In questa pagina del sito puoi guardare il video online Testing della durata di ore minuti seconda in buona qualità , che l'utente ha caricato IPSA - Introduction to Programming 19 marzo 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 708 volte e gli è piaciuto like spettatori. Buona visione!