スキップしてメイン コンテンツに移動

投稿

ラベル(Build tool)が付いた投稿を表示しています

Ant Build Script for ActionScript 3.0 (AIR Application)

This is my ant build script used for building app. You know FlashDevelop can build swf however it only compiles minimum classes directly used in the program. So I always run ant build script in order to compile all ".as" and ".mxml" source files If you would like to use my ant script, need some preparation.... Flex PMD: You can download Flex PMD, which is used in my ant script, from here . PMD xslt: I just downloaded official sourceforge PMD zip (the version is 5.0.0 when I wrote this article) and simply picked up some useful xslt from pmd-src-5.0.0/etc/xslt My project directory hierarchy is something like this... <?xml version="1.0" encoding="utf-8" ?> <project name="DukeSoftwareBuildAS3" default="all" basedir="."> <property name="root.dir" value=".." /> <property file="${root.dir}/proj.properties" /> <property file="build.prop

Helpful Development Tools & Software (Build, Test, Inspection, CI, etc....)

Test Tools JUnit JMeter FIT Testing Eclipse Test & Performance Tools Platform Project : Eclipseで使えるパフォーマンステストツール JUnitPerf : Performance Test tool Selenium : Web系の自動テストの決定版 zohhak : JUnit標準のparameterizedテストは色々と書くのが面倒ですが、これを使うとかなりsimpleにテストを書けます!以下はサイトに載っていたコードの例です。 @TestWith({ "clerk, 45'000 USD, GOLD", "supervisor, 60'000 GBP, PLATINUM" }) public void canAcceptDebit(Employee employee, Money money, ClientType clientType) { assertTrue( employee.canAcceptDebit(money, clientType) ); } Mock JMock EasyMock Mockito : 個人的にはこれがお勧め。使いやすいです。 Behavior Driven Development http://jbehave.org/ JDave Instinct Wikipedia にJava以外の言語のBDDツールも大量に載っています。 Code Coverage Tools ここ が参考になります。以下、代表的なものを2つあげておきます。 ATLASSIAN 社の Clover EMMA :私はこのツールを使っています。Cloverのようにグラフが表示されないのが、ちょっと残念。データ自体はあるので簡単に作れそうですが(汗)。ちなみに私は、 EMMA Reference Manual や Emma+Antをofflineモードで実行する の記事を参考にAnt scriptを書きました。 Matching hamcrest : テスト時に可読性を上げた