The templating language <i>isn&#x27;t</i> and <i>can&#x27;t</i> be used to define test control flow.<p>It&#x27;s <i>only</i> used to generate test cases - e.g. 7 login scenario tests on 7 different browsers. Or, as on my website, two virtually identical tests running on two different versions of python.<p>It isn&#x27;t necessary to write test cases using jinja2 either. YAML on its own is enough.