Programming with Subversion, Trac and Buildbot version 1.1 Date: 8th June, 2006 Olivier Ramonat <olivier.ramonat@netelem.com> Pascal Obry <pascal@obry.net> Contents 1 Introduction 2 How to configure your system 2.1 GNU/Linux and MacOS 2.1.1 Create user accounts 2.2 Cygwin/Windows 2.2.1 Install Cygwin 2.2.2 Create user accounts 2.2.3 Configure SSH 2.2.4 Install Trac 2.2.5 Install Buildbot
Buildbot: Configuration and architecture Jacob Kaplan-Moss November 9, 2010 Part of the Buildbot series. This is the second part in my series about building a build farm for Django with Buildbot. Part 1 covered some background, including the specific problems facing a CI system for Django’s core development. Starting in this part I’ll be looking at the actual code I wrote to solve these problems.
BuildBotはPythonで記述されたテスト自動化システムです。任意のイベントを契機に動きだし、必要なリソースの取得・テスト・記録・通知を行います。幕の内の開発ではBuildBotを用いてSubversionからのチェックアウト・テスト・メール通知を行っています。 BuildBotとは BuildBotはPythonで記述されたテスト自動化システムです。任意のイベントを契機に動きだし、必要なリソースの取得・テスト・記録・通知を行います。幕の内の開発ではBuildBotを用いてSubversionからのチェックアウト・テスト・メール通知を行っています。 BuildBotは基本的に自動テストツールなので、テストをたくさん書いておかないとあまり意味がありません。幕の内開発では UnitTest, functional-test, Seleniumでのテストを行っていて、これらのうちUnitT
From the buildbot manual: "The BuildBot is a system to automate the compile/test cycle required by most software projects to validate code changes. By automatically rebuilding and testing the tree each time something has changed, build problems are pinpointed quickly, before other developers are inconvenienced by the failure. The guilty developer can be identified and harassed without human interv
SVN を監視させる SVNにコミットしたら、Buildbotに通知して、テストとかしてもらいます。 $SVN_REPOS/hooks の下に、post-commit.tmpl があるので、これをpost-commitにリネーム。 とりあえずローカルリポジトリなので、自分のアカウントが実行できればOK? でも、念のためどのユーザでも実行可能にしておく。 $ cp post-commit.tmpl post-commit $ chmod 755 post-commit Buildbot に通知するためのスクリプトは、buildbotのディストリビューションのcontribディレクトリにあります。 svn_buildbot.py がそれ。 hooks ディレクトリにコピーしときます。 そして、post-commit の中からsvn_buildbot.py を実行するように修正。 REPOS="
http://buildbot.sourceforge.net/ 試したのは、0.7.4 多分最新 BuildbotはCIツールで、継続結合を助けてくれるツールです。 リポジトリを監視して、最新版を取り出し、ビルド、テスト、結果レポートなどいろんなことをしてくれます。 インストール http://buildbot.sourceforge.net/から辿って、ソースを入手。 以下、Pythonistaにはいつもの光景 $ tar xvzf buildbot-0.7.4.tar.gz $ cd buildbot-0.7.4/ $ python setup.py build $ sudo python setup.py install $ buildbot --version Buildbot version: 0.7.4 Twisted version: 2.4.0 みてわかるとおり、Twis
こんにちは。パートナーサービス部の加藤和良です。 前回、mixi における開発者テスト について説明しました。だいぶ間があいてしまいましたが、今回は、そのテストを定期的に実行する 継続的インテグレーション の仕組みを紹介したいと思います。 テストが遅い 実は、mixi のテストは「遅い」という大きな問題を抱えています。 Micheal Feathers は『レガシーコード改善ガイド』のなかで、単体テストが高速に実行できることの重要性を解き「単体テスト」を厳しく定義します。 次に当てはまるものは単体テストではない。 データベースとやり取りする ネットワークを介した通信をする ファイルシステムにアクセスする 実行するために特別な環境設定を必要とする (環境設定ファイルの編集など) 上記に該当するテストが悪いというわけではない。多くの場合において、そのようなテストを書く価値はあり、しばしばテスト
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く