技术控

    今日:124| 主题:49179
收藏本版 (1)
最新软件应用技术尽在掌握

[其他] hypothesis.works articles: Seeking funding for deeper integration between Hypoth

[复制链接]
神马是浮云 发表于 2016-10-2 21:11:06
98 2

立即注册CoLaBug.com会员,免费获得投稿人的专业资料,享用更多功能,玩转个人品牌!

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
Probably the number one complaint I hear from Hypothesis users is that it “doesn’t work” with py.test fixtures.This isn’t true, but it does have one very specific limitation in how it works that annoys people: It only runs function scoped fixtures once for the entire test, not once per example. Because of the way people use function scoped fixtures for handling stateful things like databases, this often causes people problems.  
  I’ve been    maintaining for a whilethat this is impossible to fix without some changes on the pytest end.  
  The good news is that this turns out not to be the case. After some conversations with pytest developers, some examining of other pytest plugins, and a bunch of prototyping, I’m pretty sure it’s possible. It’s just really annoying and a lot of work.
  So that’s the good news. The bad news is that this isn’t going to happen without someone funding the work.
  I’ve now spent about a week of fairly solid work on this, and what I’ve got is quite promising: The core objective of running pytest fixtures for every examples works fairly seamlessly.
  But it’s now in the long tail of problems that will need to be squashed before this counts as an actual production ready releasable piece of work. A number of things    don’twork. For example, currently it’s running some module scoped fixtures once per example too, which it clearly shouldn’t be doing. It also currently has some pretty major performance problems that are bad enough that I would consider them release blocking.  
  As a result I’d estimate there’s easily another 2-3 weeks of work needed to get this out the door.
  Which brings us to the crux of the matter: 2-3 additional weeks of free work on top of the one I’ve already done is 3-4 weeks more free work than I particularly want to do on this feature, so without sponsorship it’s not getting finished.
  I typically charge £400/day for work on Hypothesis (this is heavily discounted off my normal rates), so 2-3 weeks comes to £4000 to £6000 (roughly $5000 to $8000) that has to come from somewhere.
  I know there are a number of companies out there using pytest and Hypothesis together. I know from the amount of complaining about this integration that this is a real problem you’re experiencing. So, I think this money should come from those companies. Besides helping to support a tool you’ve already got a lot of value out of, this will expand the scope of what you can easily test with Hypothesis a lot, and will be hugely beneficial to your bug finding efforts.
  This is a model that has worked well before with the funding of the recent statistics work by    Jean-Louis Fuchsand    Adfinis-SyGroup, and I’m confident it can work well again.  
  If you work at such a company and would like to talk about funding some or part of this development, please email me at    [email protected]
友荐云推荐




上一篇:5 Best books for OCAJP8 Exam 1Z0-808 - Java8
下一篇:第94期
酷辣虫提示酷辣虫禁止发表任何与中华人民共和国法律有抵触的内容!所有内容由用户发布,并不代表酷辣虫的观点,酷辣虫无法对用户发布内容真实性提供任何的保证,请自行验证并承担风险与后果。如您有版权、违规等问题,请通过"联系我们"或"违规举报"告知我们处理。

过去已经过去 发表于 2016-10-3 01:27:49
知识就是力量啊!
回复 支持 反对

使用道具 举报

wetgreshy 发表于 2016-10-4 00:13:24
支持一下,下面的保持队形!
回复 支持 反对

使用道具 举报

*滑动验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

我要投稿

推荐阅读

扫码访问 @iTTTTT瑞翔 的微博
回页顶回复上一篇下一篇回列表手机版
手机版/CoLaBug.com ( 粤ICP备05003221号 | 文网文[2010]257号 )|网站地图 酷辣虫

© 2001-2016 Comsenz Inc. Design: Dean. DiscuzFans.

返回顶部 返回列表