--- title: "Property-Based Testing in Python - Rain Wu" tags: PyConTW2023, 2023-organize, 2023-共筆 --- # Property-Based Testing in Python - Rain Wu {%hackmd H6-2BguNT8iE7ZUrnoG1Tg %} <iframe src=https://app.sli.do/event/2Mdxztbtzf2vGvNrKtbv4Y height=450 width=100%></iframe> > Collaborative writing start from below > 從這裡開始共筆 工具: [Hypothesis](https://hypothesis.readthedocs.io/en/latest/index.html) : Python 的 Property-Based Testing 工具 3A framework (Arrange/Act/*Assert*) - Property-based: benefits assert phase ### Shared Strategies - shared strategies can be reused among different repos - we can use map/filter to further modify the test data from shared strategies ### Fragile/ Unstable Pipeline - keep the impact under control + start with smaller scope + it is not suitable for all cases - common practices for dealing with unstability + documents for troubleshooting/ acceptable workarounds Below is the part that speaker updated the talk/tutorial after speech 講者於演講後有更新或勘誤投影片的部份