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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Postgression - A PostgreSQL database for every test case

65 点作者 willlll超过 12 年前

8 条评论

rdegges超过 12 年前
Hey all, so I'm one of the authors of postgression. The website isn't totally clear as to all the reasons why this may be useful. I've written a blog post about it, which you may also find helpful if you're interested:<p><a href="http://rdegges.com/postgression-a-postgresql-database-for-every" rel="nofollow">http://rdegges.com/postgression-a-postgresql-database-for-ev...</a>
评论 #5095561 未加载
评论 #5095752 未加载
Titanous超过 12 年前
I'm not convinced that the cumulative latency this would introduce into test runs is lower than the amount of time required to use brew or apt-get to install Postgres.
评论 #5095028 未加载
评论 #5094659 未加载
pvh超过 12 年前
You know what would make this faster? If you ran your tests inside Heroku as well. Then you wouldn't have all the network round-trip time and you'd be test in the same environment you go to production on.
olefoo超过 12 年前
This may be a small nit, especially since this is specifically a public test facility. But you might want to restrict the guest roles to only access their own database public schema.<p>I can't see other's query activity, but I can see some of the pg_catalog tables.<p>For instance<p><pre><code> select count(*) from pg_stat_database; count ------- 1900 (1 row)</code></pre>
评论 #5095035 未加载
评论 #5095036 未加载
meaty超过 12 年前
Not sure I'd want to throw my schema out of our infrastructure.<p>At the moment, our integration test run takes nearly two hours but this is rolling out the schema and the sheer number of test cases (we have over 1 million lines of test cases). Something that speeds it up would be welcome but this is not for us.
评论 #5096448 未加载
benatkin超过 12 年前
This is inefficient on multiple levels. Please check out Vagrant.
评论 #5095008 未加载
phusuke超过 12 年前
Good job guys! This is pretty cool!
dmishe超过 12 年前
Interesting, but still this is connecting to outside server. For mac there's Postgres.app
评论 #5095019 未加载