28 min

[EN] ByteSized RSE: Property Based Testing - Duncan McGregor and Nicholas del Grosso Code for Thought

    • Technology

Send us a Text Message.
Property based testing can help you make your tests more effective and your code more robust. Together with my guests Duncan McGregor and Nicholas del Grosso we talk about what property based testing is and in particular go into one widely used implementation for Python - the Hypothesis library. 

Here are a few links:
https://increment.com/testing/in-praise-of-property-based-testing/ from David MacIver (creator of hypothesis) about the benefits of property based testinghttps://hypothesis.works/articles/what-is-property-based-testing/ explaining what property based testing ishttps://www.inspiredpython.com/course/testing-with-hypothesis/testing-your-python-code-with-hypothesis Testing your code with Hypothesishttps://reiddraper.com/writing-simple-check/ Reid Draper (QuickCheck) on shrinkinghttps://hackage.haskell.org/package/QuickCheck-1.0 the QuickCheck toolhttps://hypothesis.works/articles/how-many-tests/ How many tests is hypothesis running?https://hypothesis.works/articles/quickcheck-in-every-language/ property based testing in other languages (a bit outdated - it's from 2016)https://hypothesis.works/articles/integrated-shrinking/ David MacIver on how he implemented shrinking in Hypothesishttps://hypothesis.works/articles/compositional-shrinking/ and more on shrinkinghttps://jqwik.net the property based testing library for Java/Kotlinhttps://en.wikipedia.org/wiki/Functional_programming What is functional programminghttps://www.youtube.com/watch?v=xgDPvlgUSLE Duncan's YouTube episode on property based testing with jqwik (from his channel 'Refactoring to Kotlin')Support the Show.
Thank you for listening and your ongoing support. It means the world to us!
Support the show on Patreon https://www.patreon.com/codeforthought
Get in touch:
Email mailto:code4thought@proton.me UK RSE Slack (ukrse.slack.com): @code4thought or @piddie US RSE Slack (usrse.slack.com): @Peter Schmidt Mastadon: https://fosstodon.org/@code4thought or @code4thought@fosstodon.org LinkedIn: https://www.linkedin.com/in/pweschmidt/ (personal Profile)LinkedIn: https://www.linkedin.com/company/codeforthought/ (Code for Thought Profile) This podcast is licensed under the Creative Commons Licence: https://creativecommons.org/licenses/by-sa/4.0/

Send us a Text Message.
Property based testing can help you make your tests more effective and your code more robust. Together with my guests Duncan McGregor and Nicholas del Grosso we talk about what property based testing is and in particular go into one widely used implementation for Python - the Hypothesis library. 

Here are a few links:
https://increment.com/testing/in-praise-of-property-based-testing/ from David MacIver (creator of hypothesis) about the benefits of property based testinghttps://hypothesis.works/articles/what-is-property-based-testing/ explaining what property based testing ishttps://www.inspiredpython.com/course/testing-with-hypothesis/testing-your-python-code-with-hypothesis Testing your code with Hypothesishttps://reiddraper.com/writing-simple-check/ Reid Draper (QuickCheck) on shrinkinghttps://hackage.haskell.org/package/QuickCheck-1.0 the QuickCheck toolhttps://hypothesis.works/articles/how-many-tests/ How many tests is hypothesis running?https://hypothesis.works/articles/quickcheck-in-every-language/ property based testing in other languages (a bit outdated - it's from 2016)https://hypothesis.works/articles/integrated-shrinking/ David MacIver on how he implemented shrinking in Hypothesishttps://hypothesis.works/articles/compositional-shrinking/ and more on shrinkinghttps://jqwik.net the property based testing library for Java/Kotlinhttps://en.wikipedia.org/wiki/Functional_programming What is functional programminghttps://www.youtube.com/watch?v=xgDPvlgUSLE Duncan's YouTube episode on property based testing with jqwik (from his channel 'Refactoring to Kotlin')Support the Show.
Thank you for listening and your ongoing support. It means the world to us!
Support the show on Patreon https://www.patreon.com/codeforthought
Get in touch:
Email mailto:code4thought@proton.me UK RSE Slack (ukrse.slack.com): @code4thought or @piddie US RSE Slack (usrse.slack.com): @Peter Schmidt Mastadon: https://fosstodon.org/@code4thought or @code4thought@fosstodon.org LinkedIn: https://www.linkedin.com/in/pweschmidt/ (personal Profile)LinkedIn: https://www.linkedin.com/company/codeforthought/ (Code for Thought Profile) This podcast is licensed under the Creative Commons Licence: https://creativecommons.org/licenses/by-sa/4.0/

28 min

Top Podcasts In Technology

Acquired
Ben Gilbert and David Rosenthal
Lex Fridman Podcast
Lex Fridman
All-In with Chamath, Jason, Sacks & Friedberg
All-In Podcast, LLC
Apple Events (video)
Apple
Hard Fork
The New York Times
Darknet Diaries
Jack Rhysider