phpUnderControl 的替代方案 - 它是最好的吗?

发布于 2024-07-06 11:02:46 字数 144 浏览 7 评论 0原文

我正在寻找一个好的 PHP 系统,它可以进行单元测试、Subversion、编码标准。

我很想听听您的建议以及哪一个是最好的以及为什么。 我将在 debian 服务器上运行它,因此在 Mac 或 Windows 服务器上运行的任何内容都是不可能的。

I am searching for a good system for PHP, which does UnitTesting, Subversion, Coding Standards.

I would love to hear your suggestions and which one is the best and why.
I will be running it on a debian server so anything which runs on mac or windows servers would be out of the question.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

空袭的梦i 2024-07-13 11:02:46

我在 CI 和 PHP 方面排名第二 Hudson。 如果您有兴趣,我已经写了一个关于设置它的教程。

编辑:

我的教程已经过时了。

我强烈推荐:http://jenkins-php.org/

I second Hudson for CI and PHP. I have written a tutorial on setting it up if you are interested.

Edit:

My tutorial is out of date.

I highly recommend: http://jenkins-php.org/

过度放纵 2024-07-13 11:02:46

我们已经使用Xinc,但现在我们坚持使用phpUnderControl。 当我们评估不同的解决方案时,它似乎更成熟一些。

phpug 明显支持 phpUnit,还生成文档(phpDocumentor),使用 xdebug 代码覆盖率和项目混乱检测,甚至检查 CS(通过 phpcs)。 至于 phpUnit,您现在甚至可以使用它运行 phpt 风格的测试,这使得它适合一些人们更容易编写测试。

尽管 phpug 在游戏中添加了 CruiseControl 和 Java,但这对我们来说并没有带来太多麻烦。 无论如何,没有我想象的那么多。 :) 我的意思是,这就是基于 Java 的服务的优势。 (假设你有JDK)你只需下载并运行它。 就这么简单。 我不熟悉 Debian 上的 Java,但上次我检查过这不是问题。

至于商业解决方案,我知道很多 PHP 商店使用 Bamboo (以及完整的Atlassian 套件)。

We have played with Xinc, but we stuck with phpUnderControl for now. It seemed a bit more mature, when we evaluated the different solutions.

phpug came with the obvious support for phpUnit, also generates docs (phpDocumentor) uses xdebug code coverage and project mess detection and even checks on CS (through phpcs). As for phpUnit, you can now even run phpt-style tests with it which makes it for some people easier to write tests.

And even though phpug adds CruiseControl and Java to the game it hasn't been much of a hassle for us. Not as much as I assumed anyway. :) I mean, that's the advantage with a Java-based service. (Assuming you have the JDK) You just download and run it. That easy. I am not familiar with Java on Debian, but last time I checked it wasn't an issue.

As for commercial solutions I know a bunch of PHP shops that use Bamboo (along with the complete Atlassian suite).

み格子的夏天 2024-07-13 11:02:46

phing 是一个用 php 编写的 Ant 克隆/类似工具。 我用它来运行 phpunit 测试、checkstyle 编码标准检查、静态网站生成和应用程序的 tarball 打包。 编写自定义任务以将任何 php 应用程序或 shell 脚本可运行程序集成到尚不支持的构建过程中非常简单。

phing is an Ant clone/workalike written in php. I use it to run phpunit tests, checkstyle coding standards checks, static website generation and tarball packaging of apps. It's fairly simple to write a custom task to integrate any php application or shell script runnable program into your build process that isn't already supported.

节枝 2024-07-13 11:02:46

我认为您正在谈论持续集成。 你可以使用的最好的东西是 CruiseControl + Ant + phpUnderControl + phpUnit + PHP_CodeSniffer + Xdebug。 有了这条链子,你就会向粉丝摇摆:)

I think you're talking about Continuous Integration. The best thing you can use is CruiseControl + Ant + phpUnderControl + phpUnit + PHP_CodeSniffer + Xdebug. With this chain you will swing to the fans :)

扛刀软妹 2024-07-13 11:02:46

如果您正在寻找持续集成,您是否查看过TeamCity? 它不是专门针对 PHP 的,但是非常易于设置和管理。 专业许可证(20 个构建配置)和开源项目

If it's continuous integration that you're looking for have you checked out TeamCity? It's not specifically for PHP but it's very easy to set up and manage. It's also free for the professional licence (20 build configs) and for open source projects.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文