TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Property-Based Testing in Python

3 点作者 yingw787超过 4 年前

1 comment

LockAndLol超过 4 年前
I honestly don&#x27;t find tests that &quot;self documenting&quot;. They are complementary and optional to reference documentation, but much less readable. Every time I&#x27;ve looked at them, I&#x27;ve found myself better grasping what the function does by simply reading the function itself.<p>And having to read regexes in order to understand code seems more like a negative. In that regard pytest and simple unittest code reads more easily IMO.<p>The most readable test code I&#x27;ve come across is that written in jasmine (behavioural driven testing)
评论 #26022723 未加载