Friday, March 27, 2020

Test and Code: 107: Property Based Testing in Python with Hypothesis - Alexander Hultnér

Hypothesis is the Python tool used for property based testing.
Hypothesis claims to combine "human understanding of your problem domain with machine intelligence to improve the quality of your testing process while spending less time writing tests."

In this episode Alexander Hultnér introduces us to property based testing in Python with Hypothesis.

Some topics covered:

  • What is property based testing
  • Thinking differently for property based testing
  • Using hypothesis / property based testing in conjunction with normal testing
  • Failures saved and re-run
  • What parts of development/testing is best suited for hypothesis / property based testing
  • Comparing function implementations
  • Testing against REST APIs that use Open API / Swagger with schemathesis
  • Changing the number of tests in different test environments
  • System, integration, end to end, and unit tests

Special Guest: Alexander Hultnér.

Sponsored By:

Support Test & Code : Python Testing for Software Engineers

Links:

<p>Hypothesis is the Python tool used for property based testing.<br> Hypothesis claims to combine &quot;human understanding of your problem domain with machine intelligence to improve the quality of your testing process while spending less time writing tests.&quot;</p> <p>In this episode Alexander Hultnér introduces us to property based testing in Python with Hypothesis.</p> <p>Some topics covered:</p> <ul> <li>What is property based testing</li> <li>Thinking differently for property based testing</li> <li>Using hypothesis / property based testing in conjunction with normal testing</li> <li>Failures saved and re-run</li> <li>What parts of development/testing is best suited for hypothesis / property based testing </li> <li>Comparing function implementations</li> <li>Testing against REST APIs that use Open API / Swagger with schemathesis </li> <li>Changing the number of tests in different test environments</li> <li>System, integration, end to end, and unit tests</li> </ul><p>Special Guest: Alexander Hultnér.</p><p>Sponsored By:</p><ul><li><a href="https://ift.tt/2JDHRTz" rel="nofollow">PyCharm Professional</a>: <a href="https://ift.tt/2JDHRTz" rel="nofollow">Try PyCharm Pro for 4 months and learn how PyCharm will save you time.</a> Promo Code: TESTNCODE2020</li></ul><p><a href="https://ift.tt/2tzXV5e" rel="payment">Support Test & Code : Python Testing for Software Engineers</a></p><p>Links:</p><ul><li><a href="https://ift.tt/2lTtVKN" title="Hypothesis home" rel="nofollow">Hypothesis home</a></li><li><a href="https://ift.tt/28VKlfD" title="Hypothesis docs" rel="nofollow">Hypothesis docs</a></li><li><a href="https://www.youtube.com/watch?v=MKf6KfdTems" title="Test Fast, Fix More - Property based testing with Hypothesis by Alexander Hultnér - YouTube" rel="nofollow">Test Fast, Fix More - Property based testing with Hypothesis by Alexander Hultnér - YouTube</a></li><li><a href="https://ift.tt/1dTvno4" title="Quickcheck, Grandfather of property based testing" rel="nofollow">Quickcheck, Grandfather of property based testing</a></li><li><a href="https://www.youtube.com/watch?v=MYucYon2-lk" title="Beyond Unit Tests, Hillel Wayne, PyCon 2018" rel="nofollow">Beyond Unit Tests, Hillel Wayne, PyCon 2018</a></li><li><a href="https://www.youtube.com/watch?v=jvwfDdgg93E" title="Better Testing With Less Code, Matt Bachmann, PyCon 2016" rel="nofollow">Better Testing With Less Code, Matt Bachmann, PyCon 2016</a></li><li><a href="https://ift.tt/1TsU696" title="Choosing properties for property-based testing (F#)" rel="nofollow">Choosing properties for property-based testing (F#)</a></li><li><a href="https://ift.tt/2N8L8jK" title="schemathesis: Hypothesis + Open API / Swagger for testing web applications" rel="nofollow">schemathesis: Hypothesis + Open API / Swagger for testing web applications</a></li></ul>

from Planet Python
via read more

No comments:

Post a Comment

TestDriven.io: Working with Static and Media Files in Django

This article looks at how to work with static and media files in a Django project, locally and in production. from Planet Python via read...