Concurency and paralelism

Testovanie
PTS prednaska

Test driven development
https://en.wikipedia.org/wiki/Test-driven_development
+ "Extremna verzia" https://www.youtube.com/watch?v=qkblc5WRn-U
Three laws
1. You can’t write any production code until you have first written a failing unit test.
2. You can’t write more of a unit test than is sufficient to fail, and not compiling is failing.
3. You can’t write more production code than is sufficient to pass the currently failing unit test.

Priklady testov
Projekt\Tournament\FIFARankingStrategy.py - co chceme testovat
TestFIFARankingStrategy_version1.py - ujde, ale asi sa nam nebude chciet pisat vela testov
TestFIFARankingStrategy.py - toto je takmer ludsky jazyk

Executable specifications 
behave .. priklady

Domain specific languages
https://martinfowler.com/bliki/FluentInterface.html
https://www.youtube.com/watch?v=ZfdAwV0HlEU