{"title":"PyVideo.org - behave","link":[{"@attributes":{"href":"https:\/\/pyvideo.org\/","rel":"alternate"}},{"@attributes":{"href":"https:\/\/pyvideo.org\/feeds\/tag_behave.atom.xml","rel":"self"}}],"id":"https:\/\/pyvideo.org\/","updated":"2018-05-11T00:00:00+00:00","subtitle":{},"entry":[{"title":"Making Your Application Behave","link":{"@attributes":{"href":"https:\/\/pyvideo.org\/pycon-au-2012\/making-your-application-behave.html","rel":"alternate"}},"published":"2012-08-22T00:00:00+00:00","updated":"2012-08-22T00:00:00+00:00","author":{"name":"Benno Rice"},"id":"tag:pyvideo.org,2012-08-22:\/pycon-au-2012\/making-your-application-behave.html","summary":"<h3>Summary<\/h3><p>Behave is a tool for behaviour-driven development inspired by the\nCucumber tool for Ruby. It allows developers and stakeholders to agree\non how a particular piece of software should behave using an\nEnglish-like Given-When- Then syntax and f<\/p>\n<h3>Description<\/h3><p>Behave is a tool for behaviour-driven development inspired by the \u2026<\/p>","content":"<h3>Summary<\/h3><p>Behave is a tool for behaviour-driven development inspired by the\nCucumber tool for Ruby. It allows developers and stakeholders to agree\non how a particular piece of software should behave using an\nEnglish-like Given-When- Then syntax and f<\/p>\n<h3>Description<\/h3><p>Behave is a tool for behaviour-driven development inspired by the\nCucumber tool for Ruby. It allows developers and stakeholders to agree\non how a particular piece of software should behave using an\nEnglish-like Given-When- Then syntax and for that behaviour for then to\nbe easily tested in whatever manner is appropriate.<\/p>\n<p>This presentation will provide an introduction to behaviour-driven\ndevelopment, behaviour testing in general and the behave tool along with\nits advantages over alternatives such as lettuce and freshen.<\/p>\n","category":[{"@attributes":{"term":"PyCon AU 2012"}},{"@attributes":{"term":"bdd"}},{"@attributes":{"term":"behave"}}]},{"title":"Dalla User Story al test automatico in Django: un percorso step by step per dormire sonni tranquilli","link":{"@attributes":{"href":"https:\/\/pyvideo.org\/pycon-italia-2018\/dalla-user-story-al-test-automatico-in-django-un-percorso-step-by-step-per-dormire-sonni-tranquilli.html","rel":"alternate"}},"published":"2018-04-22T00:00:00+00:00","updated":"2018-04-22T00:00:00+00:00","author":{"name":"Filippo Morelli"},"id":"tag:pyvideo.org,2018-04-22:\/pycon-italia-2018\/dalla-user-story-al-test-automatico-in-django-un-percorso-step-by-step-per-dormire-sonni-tranquilli.html","summary":"<h3>Description<\/h3><p>Le specifiche poco chiare o approssimative sono una delle piaghe degli\nsviluppatori, e portano all\u2019odioso fenomeno dei task non accettati o\nrimandati indietro etichettati come BUG.<\/p>\n<p>Spesso, tuttavia, non c\u2019\u00e8 proprio nulla di rotto ma solo una serie di\nincomprensioni dovute alla scarsa qualit\u00e0 dell\u2019analisi, che \u2026<\/p>","content":"<h3>Description<\/h3><p>Le specifiche poco chiare o approssimative sono una delle piaghe degli\nsviluppatori, e portano all\u2019odioso fenomeno dei task non accettati o\nrimandati indietro etichettati come BUG.<\/p>\n<p>Spesso, tuttavia, non c\u2019\u00e8 proprio nulla di rotto ma solo una serie di\nincomprensioni dovute alla scarsa qualit\u00e0 dell\u2019analisi, che provocano,\ngeneralmente, molta frustrazione in chi ha scritto il codice.<\/p>\n<p>Nel corso del talk vedremo come tutto questo sia evitabile grazie\nall\u2019approccio <strong>BDD<\/strong> , all\u2019utilizzo di <strong>User Stories<\/strong> con\n<strong>Acceptance Tests<\/strong> scritti usando il linguaggio <em>Gherkin<\/em> e\nall\u2019esecuzione di test automatici.<\/p>\n<p>In pi\u00f9, mostreremo una applicazione pratica su un progetto <em>Django<\/em>\nusando <em>Behave<\/em> con <em>behave_django<\/em> e <em>Selenium<\/em> con <em>splinter<\/em>.<\/p>\n<p>in __on <strong>domenica 22 aprile<\/strong> at 12:00 <a class=\"reference external\" href=\"\/p3\/schedule\/pycon9\/\">**See\nschedule**<\/a><\/p>\n","category":[{"@attributes":{"term":"PyCon Italia 2018"}},{"@attributes":{"term":"bdd"}},{"@attributes":{"term":"continuous-integration"}},{"@attributes":{"term":"agile"}},{"@attributes":{"term":"selenium"}},{"@attributes":{"term":"django"}},{"@attributes":{"term":"behave"}}]},{"title":"Behavior-Driven Python","link":{"@attributes":{"href":"https:\/\/pyvideo.org\/pycon-us-2018\/behavior-driven-python.html","rel":"alternate"}},"published":"2018-05-11T00:00:00+00:00","updated":"2018-05-11T00:00:00+00:00","author":{"name":"Andrew Knight"},"id":"tag:pyvideo.org,2018-05-11:\/pycon-us-2018\/behavior-driven-python.html","summary":"<h3>Description<\/h3><p>Behavior-Driven Development (BDD) is gaining popularity as an improved way to collaborate over product features and tests. In Python, <strong>behave<\/strong> is one of the leading BDD test frameworks. Using <strong>behave<\/strong>, teams write Gherkin behavior scenarios (e.g., tests) in plain language, and then programmers write Python code to automate \u2026<\/p>","content":"<h3>Description<\/h3><p>Behavior-Driven Development (BDD) is gaining popularity as an improved way to collaborate over product features and tests. In Python, <strong>behave<\/strong> is one of the leading BDD test frameworks. Using <strong>behave<\/strong>, teams write Gherkin behavior scenarios (e.g., tests) in plain language, and then programmers write Python code to automate the steps. BDD testing is great because tests are self-documenting and steps abide by the DRY principle. An example test could be:<\/p>\n<ul class=\"simple\">\n<li>Given the DuckDuckGo home page is displayed<\/li>\n<li>When the user searches the phrase &quot;Python&quot;<\/li>\n<li>Then search results for &quot;Python&quot; are shown<\/li>\n<\/ul>\n<p>This talk will teach how to use <strong>behave<\/strong> to develop well-designed test scenarios and a robust automation framework. It will focus on the layers of the behave framework: feature files, step definitions, support classes, and config files. A full example project will be hosted on GitHub for audience members to reference after the talk.<\/p>\n","category":[{"@attributes":{"term":"PyCon US 2018"}},{"@attributes":{"term":"behavior driven development"}},{"@attributes":{"term":"bdd"}},{"@attributes":{"term":"behave"}}]},{"title":"BDD To The Bone - Using Behave and Selenium to Test-Drive Web Applications","link":{"@attributes":{"href":"https:\/\/pyvideo.org\/pytennessee-2017\/bdd-to-the-bone-using-behave-and-selenium-to-test-drive-web-applications.html","rel":"alternate"}},"published":"2017-02-05T00:00:00+00:00","updated":"2017-02-05T00:00:00+00:00","author":{"name":"Pat Viafore"},"id":"tag:pyvideo.org,2017-02-05:\/pytennessee-2017\/bdd-to-the-bone-using-behave-and-selenium-to-test-drive-web-applications.html","summary":"<h3>Description<\/h3><p>Have you ever felt that unit tests just weren't enough? It feels like something always still goes wrong when your customers start to use your application. All your unit tests pass, so what is going on? In this talk, we're going to look how to use the behave library \u2026<\/p>","content":"<h3>Description<\/h3><p>Have you ever felt that unit tests just weren't enough? It feels like something always still goes wrong when your customers start to use your application. All your unit tests pass, so what is going on? In this talk, we're going to look how to use the behave library to explore behavior driven development as well as the selenium library to control your web application through a browser.<\/p>\n","category":[{"@attributes":{"term":"PyTennessee 2017"}},{"@attributes":{"term":"selenium"}},{"@attributes":{"term":"bdd"}},{"@attributes":{"term":"behave"}},{"@attributes":{"term":"test-driver"}}]}]}