continuous4r 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +1 -1
- data/Manifest.txt +34 -34
- data/PostInstall.txt +3 -0
- data/README.rdoc +58 -0
- data/Rakefile +28 -3
- data/lib/changelog_builder.rb +51 -0
- data/lib/continuous4r.rb +63 -426
- data/lib/dcov_builder.rb +144 -0
- data/lib/flay_builder.rb +38 -0
- data/lib/flog_builder.rb +120 -0
- data/lib/git_extractor.rb +48 -0
- data/lib/rcov_builder.rb +23 -0
- data/lib/rdoc_builder.rb +33 -0
- data/lib/reek_builder.rb +38 -0
- data/lib/roodi_builder.rb +41 -0
- data/lib/saikuro_builder.rb +20 -0
- data/lib/site/body-changelog.rhtml +1 -1
- data/lib/site/body-continuous4r-reports.rhtml +40 -47
- data/lib/site/body-dcov.rhtml +1 -21
- data/lib/site/body-flay.rhtml +16 -0
- data/lib/site/body-flog.rhtml +2 -10
- data/lib/site/body-rcov.rhtml +2 -3
- data/lib/site/body-rdoc.rhtml +1 -1
- data/lib/site/body-reek.rhtml +16 -0
- data/lib/site/body-roodi.rhtml +16 -0
- data/lib/site/body-saikuro.rhtml +32 -0
- data/lib/site/body-scm-usage.rhtml +13 -12
- data/lib/site/body-stats.rhtml +1 -1
- data/lib/site/body-tests.rhtml +1 -1
- data/lib/site/body-xdoclet.rhtml +29 -0
- data/lib/site/body-zentest.rhtml +1 -1
- data/lib/site/flog.html.erb +33 -0
- data/lib/site/flog_page.html.erb +74 -0
- data/lib/site/header.rhtml +36 -20
- data/lib/site/images/added.png +0 -0
- data/lib/site/images/deleted.png +0 -0
- data/lib/site/images/modified.png +0 -0
- data/lib/site/menu-continuous4r-reports.rhtml +4 -14
- data/lib/site/{menu-dcov.rhtml → menu-task.rhtml} +3 -5
- data/lib/site/style/maven-base.css +3 -0
- data/lib/site/syntax_highlighting.css +30 -0
- data/lib/stats_builder.rb +18 -0
- data/lib/subversion_extractor.rb +29 -19
- data/lib/tasks/continuous4r-project.xml +26 -0
- data/lib/tasks/continuous4r.rake +23 -0
- data/lib/tasks/continuous4r.rb +6 -0
- data/lib/tests_builder.rb +21 -0
- data/lib/tests_formatter.rb +13 -46
- data/lib/utils.rb +47 -0
- data/lib/xdoclet_builder.rb +48 -0
- data/lib/zen_test_formatter.rb +58 -28
- data/lib/zentest_builder.rb +19 -0
- data/script/console +10 -0
- data/script/console.cmd +1 -0
- data/script/destroy +1 -1
- data/script/generate +1 -1
- data/test/test_continuous4r.rb +1 -1
- data/test/test_helper.rb +1 -0
- data/website/index.html +141 -363
- data/website/index.txt +169 -228
- data/website/template.rhtml +2 -2
- metadata +66 -46
- data/License.txt +0 -20
- data/README.txt +0 -1
- data/config/hoe.rb +0 -71
- data/config/requirements.rb +0 -17
- data/lib/capistrano_formatter.rb +0 -19
- data/lib/continuous4r/version.rb +0 -9
- data/lib/flog_formatter.rb +0 -48
- data/lib/heckle_formatter.rb +0 -27
- data/lib/httperf_formatter.rb +0 -160
- data/lib/site/body-capistrano.rhtml +0 -8
- data/lib/site/body-heckle.rhtml +0 -16
- data/lib/site/body-httperf.rhtml +0 -8
- data/lib/site/body-kwala.rhtml +0 -35
- data/lib/site/body-railroad.rhtml +0 -29
- data/lib/site/menu-capistrano.rhtml +0 -23
- data/lib/site/menu-changelog.rhtml +0 -23
- data/lib/site/menu-flog.rhtml +0 -23
- data/lib/site/menu-heckle.rhtml +0 -23
- data/lib/site/menu-httperf.rhtml +0 -23
- data/lib/site/menu-kwala.rhtml +0 -23
- data/lib/site/menu-railroad.rhtml +0 -23
- data/lib/site/menu-rcov.rhtml +0 -23
- data/lib/site/menu-rdoc.rhtml +0 -23
- data/lib/site/menu-stats.rhtml +0 -23
- data/lib/site/menu-tests.rhtml +0 -23
- data/lib/site/menu-zentest.rhtml +0 -23
- data/log/debug.log +0 -0
- data/script/txt2html +0 -74
- data/script/txt2html.cmd +0 -1
- data/setup.rb +0 -1585
- data/tasks/deployment.rake +0 -34
- data/tasks/environment.rake +0 -7
- data/tasks/website.rake +0 -17
data/website/index.txt
CHANGED
|
@@ -4,289 +4,229 @@ h1. continuous4r
|
|
|
4
4
|
|
|
5
5
|
h2. <br/>What is it ?
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
continuous4r is a continuous integration tool for Ruby on Rails. With it, you can aggregate reports of the best analysis, quality, and tests tools for Ruby on Rails. By just launching one Rake task and customizing a XML file describing your project, continuous4r builds for you an entire website in a Maven-like form/design.
|
|
8
|
+
|
|
9
|
+
h2. Requirements
|
|
10
|
+
|
|
11
|
+
<ul>
|
|
12
|
+
<li>RubyGems</li>
|
|
13
|
+
<li>rails (erb)</li>
|
|
14
|
+
<li>hpricot</li>
|
|
15
|
+
<li>XmlElements</li>
|
|
16
|
+
</ul>
|
|
17
|
+
|
|
12
18
|
|
|
13
19
|
h2. Installing
|
|
14
20
|
|
|
15
|
-
<pre syntax="ruby">sudo gem install continuous4r</pre>
|
|
21
|
+
<pre syntax="ruby">[sudo] gem install continuous4r</pre>
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
h2. Release notes for this version
|
|
25
|
+
|
|
26
|
+
<ul>
|
|
27
|
+
<li>Full Windows support, and no need for the user to define the HOME environment variable.</li>
|
|
28
|
+
<li>Only quality and code-related tools kept (goodbye Capistrano, httperf, railroad...).</li>
|
|
29
|
+
<li>No need to create the project file from scratch now, type 'rake continuous4r:init' in your Rails project directory, and there you go.</li>
|
|
30
|
+
<li>Full extensibility : the tasks are now defined in [task]_builder.rb files, and instanciated dynamically.</li>
|
|
31
|
+
<li>Full refactoring (Ruby and HTML/RHTML parts).</li>
|
|
32
|
+
<li>Git support added.</li>
|
|
33
|
+
<li>HTTP Proxy support (for those who are constrained by a proxy).</li>
|
|
34
|
+
<li>No need to have eruby installed, now uses the Rails erb compiler.</li>
|
|
35
|
+
<li>HTML global template fixes.</li>
|
|
36
|
+
<li>No need to define or configure your tasks anymore.</li>
|
|
37
|
+
</ul>
|
|
16
38
|
|
|
17
39
|
h2. The basics
|
|
18
40
|
|
|
19
|
-
h3.
|
|
20
|
-
|
|
21
|
-
In order to
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
<
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
<
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
<
|
|
53
|
-
<
|
|
54
|
-
<
|
|
55
|
-
<
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
<view>SCM_VIEWER_URL</view>
|
|
63
|
-
<!-- needed if authentication for access is mandatory -->
|
|
64
|
-
<user>userlogin</user>
|
|
65
|
-
<password>userpassword</password>
|
|
66
|
-
</scm>
|
|
67
|
-
<!-- Gems mandatory for your project -->
|
|
68
|
-
<gems>
|
|
69
|
-
<gem name="GEM_NAME" version="GEM_VERSION"/>
|
|
70
|
-
...
|
|
71
|
-
</gems>
|
|
72
|
-
<!-- Tasks in order to generate reports, described further -->
|
|
73
|
-
<tasks [autoinstall="true"] <!-- activates autoinstall for gems needed by tasks --> >
|
|
74
|
-
...
|
|
75
|
-
</tasks>
|
|
76
|
-
</project></pre>
|
|
77
|
-
|
|
78
|
-
h2. Defining tasks
|
|
79
|
-
|
|
80
|
-
h3. Changelog task
|
|
81
|
-
|
|
82
|
-
Builds a report of the last modifications on the SCM repository. Only Subversion is supported
|
|
83
|
-
at the time.
|
|
84
|
-
|
|
85
|
-
<pre syntax="xml"><task name="changelog"/>
|
|
41
|
+
h3. Preparing your project
|
|
42
|
+
|
|
43
|
+
In order to have access to continuous4r Rake tasks, you must open your Rakefile, and add to the end :
|
|
44
|
+
|
|
45
|
+
<pre syntax="ruby">require 'continuous4r'</pre>
|
|
46
|
+
|
|
47
|
+
h3. Initializing your project
|
|
48
|
+
|
|
49
|
+
In order to initialize your project, you must create your continuous4r-project.xml file.
|
|
50
|
+
Just type this command and the file will be created :
|
|
51
|
+
|
|
52
|
+
<pre syntax="shell">rake continuous4r:init</pre>
|
|
53
|
+
|
|
54
|
+
Here is the content of this file, you can customize it to suite your needs :
|
|
55
|
+
|
|
56
|
+
<pre syntax="xml"><project name="FIXME project name" auto-install-gems="true"
|
|
57
|
+
auto-install-tools="true" ignore-tests-failures="true">
|
|
58
|
+
<description>FIXME project description</description>
|
|
59
|
+
<url>FIXME project URL</url>
|
|
60
|
+
<logo>FIXME Logo URL</logo>
|
|
61
|
+
<company>
|
|
62
|
+
<denomination>FIXME your company name here</denomination>
|
|
63
|
+
<url>FIXME your company website URL here</url>
|
|
64
|
+
<logo>FIXME your company logo URL here</logo>
|
|
65
|
+
</company>
|
|
66
|
+
<members>
|
|
67
|
+
<member id="FIXME user login" name="FIXME user name" email="FIXME user email"
|
|
68
|
+
roles="FIXME user roles, separated by commas"
|
|
69
|
+
company="FIXME company/organisation name"/>
|
|
70
|
+
</members>
|
|
71
|
+
<bugtracker>
|
|
72
|
+
<tracker_type>[Trac|Bugzilla|Mantis|etc...]</tracker_type>
|
|
73
|
+
<tracker_url>BUGTRACKER_URL</tracker_url>
|
|
74
|
+
<tracker_account_create>BUGTRACKER_URL_ACCOUNT_CREATION</tracker_account_create>
|
|
75
|
+
<search>BUGTRACKER_URL_SEARCH_TICKETS</search>
|
|
76
|
+
<url>BUGTRACKER_URL_TICKETS_LIST</url>
|
|
77
|
+
<add>BUGTRACKER_URL_TICKET_ADD</add>
|
|
78
|
+
</bugtracker>
|
|
79
|
+
<!-- Gems mandatory for your project -->
|
|
80
|
+
<gems repository="http://gems.rubyforge.org/gems/">
|
|
81
|
+
<gem name="GEM_NAME" version="GEM_VERSION"/>
|
|
82
|
+
</gems>
|
|
83
|
+
</project>
|
|
86
84
|
</pre>
|
|
87
85
|
|
|
88
|
-
|
|
86
|
+
h3. Building your project
|
|
89
87
|
|
|
90
|
-
|
|
88
|
+
When your project file is suitable, type :
|
|
91
89
|
|
|
92
|
-
|
|
90
|
+
<pre syntax="shell">rake continuous4r:build</pre>
|
|
93
91
|
|
|
94
|
-
|
|
95
|
-
<description>Provides statistics on your Rails code</description>
|
|
96
|
-
</task></pre>
|
|
92
|
+
When the build is finished, you can find your site in the RAILS_ROOT/tmp/continuous4r directory.
|
|
97
93
|
|
|
98
|
-
<a href="stats.png" target="_blank">Sample</a>
|
|
99
94
|
|
|
100
|
-
|
|
95
|
+
h2. Features
|
|
101
96
|
|
|
102
|
-
|
|
103
|
-
which are not covered are colored in red.<br/>
|
|
104
|
-
The <strong>pattern</strong> param enables you to select the Ruby code to control.<br/>
|
|
105
|
-
The <strong>report</strong> param is the path where Continuous4R can find the dcov
|
|
106
|
-
original report (due to a bug in dcov).
|
|
97
|
+
h3. Proxy configuration
|
|
107
98
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
<params>
|
|
111
|
-
<pattern value="app/**/*.rb"/>
|
|
112
|
-
<report path="coverage.html"/>
|
|
113
|
-
</params>
|
|
114
|
-
</task></pre>
|
|
99
|
+
If you are behind a HTTP proxy within your company, you can configure it with a simple YAML file.
|
|
100
|
+
Create a file named proxy.yml within your USER_HOME/.continuous4r directory, with the following content :
|
|
115
101
|
|
|
116
|
-
<
|
|
102
|
+
<pre syntax="yaml">proxy:
|
|
103
|
+
server: my.proxy.server
|
|
104
|
+
port: my_port
|
|
105
|
+
login: my_login
|
|
106
|
+
password: my_password
|
|
107
|
+
</pre>
|
|
117
108
|
|
|
118
|
-
|
|
109
|
+
When you will run the build task, if there is a need for continuous4r to find something on the internet (via Rubygems), it will automatically use this configuration.
|
|
119
110
|
|
|
120
|
-
|
|
111
|
+
h3. CruiseControl.rb integration
|
|
121
112
|
|
|
122
|
-
<
|
|
123
|
-
<params>
|
|
124
|
-
<!-- file which loads all the necessary test files (based on requires) -->
|
|
125
|
-
<file path="test/rcov_test_all.rb"/>
|
|
126
|
-
<!-- path where to find the reports generated by rcov -->
|
|
127
|
-
<reports path="coverage"/>
|
|
128
|
-
</params>
|
|
129
|
-
</task>
|
|
130
|
-
</pre>
|
|
113
|
+
If you heard about Continuous Integration, and are a fan of <a href="http://cruisecontrolrb.thoughtworks.com" target="_blank">CruiseControl.rb</a>, just customize your project to build the 'continuous4r:build' Rake task, and a 'continuous4r' artifact will appear on your build page.
|
|
131
114
|
|
|
132
|
-
|
|
115
|
+
h3. Running tests
|
|
133
116
|
|
|
134
|
-
|
|
117
|
+
By default the behaviour of continuous4r is to ignore the fact that there are failures in your tests (because the failures are noticed within the tests report).
|
|
135
118
|
|
|
136
|
-
|
|
119
|
+
If you want continuous4r to stop on tests failures, then you must set the "ignore-tests-failures" flag to false in your project file.
|
|
137
120
|
|
|
138
|
-
|
|
139
|
-
</pre>
|
|
121
|
+
h3. Tasks
|
|
140
122
|
|
|
141
|
-
|
|
123
|
+
continuous4r built-in tasks are the core of the gem. They produce reports with some of the best code-related tools for Ruby on Rails. These tasks are described below :
|
|
142
124
|
|
|
143
|
-
|
|
125
|
+
h4. dcov
|
|
144
126
|
|
|
145
|
-
<a href=
|
|
146
|
-
provides statistics of your Ruby code's complexity. This task generates an HTML
|
|
147
|
-
report of these statistics.
|
|
127
|
+
<a href='http://dcov.rubyforge.org' target='_blank'>Dcov</a> task produces a report related to the coverage of your Ruby documentation (rdoc). If there is a class, a module or a method which is not documented, this task finds it and reports it.
|
|
148
128
|
|
|
149
|
-
|
|
150
|
-
</pre>
|
|
129
|
+
Screenshot :
|
|
151
130
|
|
|
152
|
-
<a href=
|
|
153
|
-
|
|
154
|
-
h3. Kwala task
|
|
155
|
-
|
|
156
|
-
<a href="http://kwala.rubyforge.org" target="_blank">Kwala</a> is a continuous integration
|
|
157
|
-
tool which gathers informations of the quality and metrics on your project. This
|
|
158
|
-
task integrates the reports produced by kwala to the site.
|
|
159
|
-
|
|
160
|
-
<pre syntax="xml"><task name="kwala">
|
|
161
|
-
<params>
|
|
162
|
-
<!-- set of actions understood by kwala -->
|
|
163
|
-
<actions>
|
|
164
|
-
<action>loc</action>
|
|
165
|
-
<action>syntax_check</action>
|
|
166
|
-
<action>formatting</action>
|
|
167
|
-
<action>code_duplication</action>
|
|
168
|
-
<action>cyclomatic</action>
|
|
169
|
-
<action>unit_test</action>
|
|
170
|
-
<action>comment_check</action>
|
|
171
|
-
<action>requires</action>
|
|
172
|
-
<action>cycles</action>
|
|
173
|
-
</actions>
|
|
174
|
-
</params>
|
|
175
|
-
</task>
|
|
176
|
-
</pre>
|
|
131
|
+
<a href='images/dcov.png' target='_blank'><img width='200' height='130' src='images/dcov.png' border='0' /></a>
|
|
177
132
|
|
|
178
|
-
|
|
133
|
+
h4. rcov
|
|
179
134
|
|
|
180
|
-
|
|
135
|
+
<a href='http://eigenclass.org/hiki/rcov' target='_blank'>Rcov</a> is a tool which produces a report for the coverage of your Ruby code against you tests.
|
|
181
136
|
|
|
182
|
-
|
|
183
|
-
task generates your graphs and presents them on a HTML report. This task is not
|
|
184
|
-
compatible with CruiseControl.rb.
|
|
137
|
+
Screenshot :
|
|
185
138
|
|
|
186
|
-
<
|
|
187
|
-
<params>
|
|
188
|
-
<generate value="controllers|models|all"/>
|
|
189
|
-
</params>
|
|
190
|
-
</task>
|
|
191
|
-
</pre>
|
|
139
|
+
<a href='images/rcov.png' target='_blank'><img width='200' height='150' src='images/rcov.png' border='0' /></a>
|
|
192
140
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
<a href="http://www.hpl.hp.com/research/linux/httperf/" target="_blank">Httperf</a>
|
|
196
|
-
is a HTTP stress tool which generates text reports for a really important number
|
|
197
|
-
of statistics. This task generates a HTML report for these statistics.
|
|
198
|
-
|
|
199
|
-
<pre syntax="xml"><task name="httperf">
|
|
200
|
-
<params>
|
|
201
|
-
<!-- set of ports which will match Mongrel instances (all managed within) -->
|
|
202
|
-
<ports>
|
|
203
|
-
<port>3334</port>
|
|
204
|
-
</ports>
|
|
205
|
-
<processes>
|
|
206
|
-
<process port="3334" url="/controller/action?param=value"
|
|
207
|
-
requests="50" timeout="2">
|
|
208
|
-
<description>Stressing application with 50 requests (URL http://127.0.0.1:3334/controller/action?param=value),
|
|
209
|
-
with a timeout set to 2 seconds.</description>
|
|
210
|
-
</process>
|
|
211
|
-
<process port="3334" url="/controller/action?param=value"
|
|
212
|
-
sessions="10,5,2" rate="5" timeout="3">
|
|
213
|
-
<description>Stressing application with 10 sessions (URL http://127.0.0.1:3334/controller/action?param=value),
|
|
214
|
-
with a rate of 5 sessions per second. Each session consists
|
|
215
|
-
of 5 calls that are spaced out by 2 seconds. Timeout is set to 3 seconds.</description>
|
|
216
|
-
</process>
|
|
217
|
-
</processes>
|
|
218
|
-
</params>
|
|
219
|
-
</task>
|
|
220
|
-
</pre>
|
|
141
|
+
h4. rdoc
|
|
221
142
|
|
|
222
|
-
|
|
143
|
+
Produces your project documentation.
|
|
223
144
|
|
|
224
|
-
|
|
145
|
+
<a href='images/rdoc.png' target='_blank'><img width='200' height='80' src='images/rdoc.png' border='0' /></a>
|
|
225
146
|
|
|
226
|
-
|
|
147
|
+
h4. stats
|
|
227
148
|
|
|
228
|
-
|
|
229
|
-
<params>
|
|
230
|
-
<runner type="units"/><!-- equivalent to rake test:units -->
|
|
231
|
-
<runner type="functionals"/><!-- equivalent to rake test:functionals -->
|
|
232
|
-
<runner type="integration"/><!-- equivalent to rake test:integration -->
|
|
233
|
-
<runner type="rspec"/><!-- equivalent to rake spec -->
|
|
234
|
-
</params>
|
|
235
|
-
</task>
|
|
236
|
-
</pre>
|
|
149
|
+
Produces what you get if you run 'rake stats', but in HTML format.
|
|
237
150
|
|
|
238
|
-
<a href=
|
|
151
|
+
<a href='images/stats.png' target='_blank'><img width='200' height='100' src='images/stats.png' border='0' /></a>
|
|
239
152
|
|
|
240
|
-
|
|
153
|
+
h4. changelog
|
|
241
154
|
|
|
242
|
-
|
|
243
|
-
a report to show where these leaks are.
|
|
155
|
+
Produces a HTML report of your code changes in your favorite source content manager. <a href='http://www.git-scm.com' target='_blank'>Git</a> and <a href='http://subversion.tigris.org' target='_blank'>Subversion</a> are supported.
|
|
244
156
|
|
|
245
|
-
|
|
246
|
-
<params>
|
|
247
|
-
<!-- runs an analysis of the efficiency/exhaustiveness of the HomeControllerTest
|
|
248
|
-
test class against the HomeController class -->
|
|
249
|
-
<runner class="app/controllers/home_controller.rb" test="test/functional/home_controller_test.rb"/>
|
|
250
|
-
</params>
|
|
251
|
-
</task>
|
|
252
|
-
</pre>
|
|
157
|
+
Screenshot :
|
|
253
158
|
|
|
254
|
-
<a href=
|
|
159
|
+
<a href='images/changelog.png' target='_blank'><img width='200' height='80' src='images/changelog.png' border='0' /></a>
|
|
255
160
|
|
|
256
|
-
|
|
161
|
+
h4. flog
|
|
257
162
|
|
|
258
|
-
|
|
163
|
+
<a href='http://ruby.sadi.st/Flog.html' target='_blank'>Flog</a> is a tool which measures the complexity of your Ruby code.
|
|
259
164
|
|
|
260
|
-
|
|
261
|
-
<!-- set of runners for your Capistrano deployments -->
|
|
262
|
-
<params>
|
|
263
|
-
<runner task="deploy"/><!-- equivalent to 'cap deploy' -->
|
|
264
|
-
</params>
|
|
265
|
-
</task>
|
|
266
|
-
</pre>
|
|
165
|
+
Screenshot :
|
|
267
166
|
|
|
268
|
-
<a href=
|
|
167
|
+
<a href='images/flog.png' target='_blank'><img width='200' height='150' src='images/flog.png' border='0' /></a>
|
|
269
168
|
|
|
270
|
-
|
|
169
|
+
h4. xdoclet
|
|
271
170
|
|
|
272
|
-
|
|
273
|
-
website by typing :
|
|
171
|
+
A task which transforms your Ruby files in HTML format with syntax highlighting support. This task is used via links in other tasks (look flog screenshot for example).
|
|
274
172
|
|
|
275
|
-
|
|
173
|
+
Screenshot :
|
|
174
|
+
|
|
175
|
+
<a href='images/xdoclet.png' target='_blank'><img width='200' height='150' src='images/xdoclet.png' border='0' /></a>
|
|
176
|
+
|
|
177
|
+
h4. flay
|
|
178
|
+
|
|
179
|
+
<a href='http://ruby.sadi.st/Flay.html' target='_blank'>Flay</a> task finds duplicates in your Ruby code.
|
|
276
180
|
|
|
277
|
-
|
|
181
|
+
Screenshot :
|
|
278
182
|
|
|
279
|
-
|
|
183
|
+
<a href='images/flay.png' target='_blank'><img width='200' height='150' src='images/flay.png' border='0' /></a>
|
|
184
|
+
|
|
185
|
+
h4. reek
|
|
186
|
+
|
|
187
|
+
<a href='http://wiki.github.com/kevinrutherford/reek' target='_blank'>Reek</a> is code smell detector for Ruby. If there is something bad in your code, it tells you.
|
|
188
|
+
|
|
189
|
+
Screenshot :
|
|
190
|
+
|
|
191
|
+
<a href='images/reek.png' target='_blank'><img width='200' height='150' src='images/reek.png' border='0' /></a>
|
|
192
|
+
|
|
193
|
+
h4. roodi
|
|
194
|
+
|
|
195
|
+
<a href='http://roodi.rubyforge.org' target='_blank'>Roodi</a> parses your Ruby code and warns you about design issues.
|
|
196
|
+
|
|
197
|
+
Screenshot :
|
|
198
|
+
|
|
199
|
+
<a href='images/roodi.png' target='_blank'><img width='200' height='150' src='images/roodi.png' border='0' /></a>
|
|
200
|
+
|
|
201
|
+
h4. saikuro
|
|
202
|
+
|
|
203
|
+
<a href='http://saikuro.rubyforge.org' target='_blank'>Saikuro</a> analyzes the cyclomatic complexity of your Ruby code.
|
|
204
|
+
|
|
205
|
+
Screenshot :
|
|
206
|
+
|
|
207
|
+
<a href='images/saikuro.png' target='_blank'><img width='200' height='150' src='images/saikuro.png' border='0' /></a>
|
|
208
|
+
|
|
209
|
+
h4. tests
|
|
210
|
+
|
|
211
|
+
Task to run your tests and make a report with details (type, success/failure, result).
|
|
212
|
+
|
|
213
|
+
Screenshot :
|
|
214
|
+
|
|
215
|
+
<a href='images/tests.png' target='_blank'><img width='200' height='100' src='images/tests.png' border='0' /></a>
|
|
216
|
+
|
|
217
|
+
h4. zentest
|
|
218
|
+
|
|
219
|
+
<a href='http://zentest.rubyforge.org/ZenTest/' target='_blank'>ZenTest</a> is a test tool. It runs a Ruby file against its test file, and generates a convention-delta report if your tests are not good enough.
|
|
220
|
+
|
|
221
|
+
Screenshot :
|
|
222
|
+
|
|
223
|
+
<a href='images/zentest.png' target='_blank'><img width='200' height='150' src='images/zentest.png' border='0' /></a>
|
|
280
224
|
|
|
281
|
-
Integration within CruiseControl.rb is quite simple. You just need to configure your
|
|
282
|
-
project to build task "rake continuous4r:build". When the build is done, go to the
|
|
283
|
-
detail page of the build, and click on the link below "Custom Build Artifacts".
|
|
284
225
|
|
|
285
226
|
h2. Help needed
|
|
286
227
|
|
|
287
|
-
This version 0.0.
|
|
288
|
-
to work on this tool. With a more substancial amount of quality and work, this tool
|
|
289
|
-
could be REALLY GREAT.
|
|
228
|
+
This version 0.0.2 has many improvements, but is still a pre-RC version of continuous4r. I'm planning on orienting the gem to collect some statistics about the tasks, and make a global quality report with graphs.
|
|
229
|
+
I'm searching for volunteers to test, or work on this tool. With a more substancial amount of quality and work, this tool will be really great.
|
|
290
230
|
|
|
291
231
|
h2. License
|
|
292
232
|
|
|
@@ -296,3 +236,4 @@ h2. Contact
|
|
|
296
236
|
|
|
297
237
|
Comments are welcome. Send an email to "Vincent Dubois":mailto:duboisv@hotmail.com,
|
|
298
238
|
or post a message on the <a href="http://rubyforge.org/forum/forum.php?forum_id=19721" target="_blank">forum</a>.
|
|
239
|
+
|