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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: CrossHair – SMT Assisted Testing for Python

97 点作者 pschanely超过 5 年前

5 条评论

ZeroCool2u超过 5 年前
Hey there, this project looks really great! There seems to be some overlap with the Hypothesis-Auto[1] project. Have you looked into collaborating with Tim and perhaps merging your work together? It seems like it would be very powerful!<p>[1] <a href="https:&#x2F;&#x2F;timothycrosley.github.io&#x2F;hypothesis-auto&#x2F;" rel="nofollow">https:&#x2F;&#x2F;timothycrosley.github.io&#x2F;hypothesis-auto&#x2F;</a>
评论 #22056108 未加载
pschanely超过 5 年前
Hi all! My primary objective with this post is to find potential collaborators and people willing to try it. (and file bugs!)<p>If you do try it, I&#x27;d encourage you to think of it as an exercise in formally documenting your code&#x27;s behavior, with the side benefit that CrossHair can sometimes help you ensure the correctness of that documentation.<p>And, of course, feedback of any kind at all is honestly appreciated. Thanks for being the awesome community that you are!
评论 #22057305 未加载
评论 #22058350 未加载
philzook超过 5 年前
Very cool! Ever looked at the Viper project? It&#x27;s the only other system in python that I know of targeting pre and post conditions<p><a href="https:&#x2F;&#x2F;www.pm.inf.ethz.ch&#x2F;research&#x2F;viper.html" rel="nofollow">https:&#x2F;&#x2F;www.pm.inf.ethz.ch&#x2F;research&#x2F;viper.html</a><p><a href="https:&#x2F;&#x2F;www.pm.inf.ethz.ch&#x2F;research&#x2F;nagini.html" rel="nofollow">https:&#x2F;&#x2F;www.pm.inf.ethz.ch&#x2F;research&#x2F;nagini.html</a><p>Another thing that might be of interest is HOLpy. I have no idea what the state of that is. <a href="https:&#x2F;&#x2F;arxiv.org&#x2F;abs&#x2F;1905.05970" rel="nofollow">https:&#x2F;&#x2F;arxiv.org&#x2F;abs&#x2F;1905.05970</a><p>I was fiddling around recently with way jankier methods than what you&#x27;ve done here <a href="http:&#x2F;&#x2F;www.philipzucker.com&#x2F;programming-and-interactive-proving-with-z3py&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.philipzucker.com&#x2F;programming-and-interactive-prov...</a>
typon超过 5 年前
This looks really cool. Love to see z3 being used for tools.
评论 #22056249 未加载
im_down_w_otp超过 5 年前
So this is Symbolic Execution based testing for Python?
评论 #22056234 未加载