Popular recipes by Nicolas Laurance http://code.activestate.com/recipes/users/4192224/2015-05-19T07:16:06-07:00ActiveState Code RecipesGenerate behave table (Python) 2015-05-19T07:16:06-07:00Nicolas Laurancehttp://code.activestate.com/recipes/users/4192224/http://code.activestate.com/recipes/579055-generate-behave-table/ <p style="color: grey"> Python recipe 579055 by <a href="/recipes/users/4192224/">Nicolas Laurance</a> (<a href="/recipes/tags/bdd/">bdd</a>, <a href="/recipes/tags/behave/">behave</a>, <a href="/recipes/tags/table/">table</a>). </p> <p>When writing BDD code with behave, you may want to include a set of examples for scenario outline, or provide a table for setting up initial conditions. This snippet ease the pain of formatting the table properly as text</p> Generate Sphinx table (Python) 2015-05-19T07:02:20-07:00Nicolas Laurancehttp://code.activestate.com/recipes/users/4192224/http://code.activestate.com/recipes/579054-generate-sphinx-table/ <p style="color: grey"> Python recipe 579054 by <a href="/recipes/users/4192224/">Nicolas Laurance</a> (<a href="/recipes/tags/rest/">rest</a>, <a href="/recipes/tags/sphinx/">sphinx</a>). </p> <p>This function will take a list of tuples and transform it into a list of string representing the data as a ReST Sphinx table.</p>