# Automatic Unit Testing and Code Analysis

**URL:** <https://www.ruby-forum.com/t/automatic-unit-testing-and-code-analysis/175142>\
**Category:** Rails\
**Created:** [September 8, 2009, 11:18pm UTC](https://www.ruby-forum.com/t/automatic-unit-testing-and-code-analysis/175142 "2009-09-08T23:18:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![phibo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/d6d6ee/32.png) [@phibo](https://www.ruby-forum.com/u/phibo)\
**Post date:** [September 8, 2009, 11:18pm UTC](https://www.ruby-forum.com/t/automatic-unit-testing-and-code-analysis/175142/1 "2009-09-08T23:18:21Z")

</div>

Hi

Does anybody know a good and powerful (yet simple of course) solution  
to automatically run rails test (unit and functional) let’s say every  
night? I’ve stumbled upon ‘CruiseControl’ (http://  
[cruisecontrol.sourceforge.net/](http://cruisecontrol.sourceforge.net/)) and think this tool might do the job.  
Any better ideas?

Cheers,  
phibo

---

<div class="post-metadata">

**Author:** ![phibo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/d6d6ee/32.png) [@phibo](https://www.ruby-forum.com/u/phibo)\
**Post date:** [September 8, 2009, 11:20pm UTC](https://www.ruby-forum.com/t/automatic-unit-testing-and-code-analysis/175142/2 "2009-09-08T23:20:06Z")

</div>

On Sep 8, 9:34 pm, phibo [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi
> 
> Does anybody know a good and powerful (yet simple of course) solution  
> to automatically run rails test (unit and functional) let’s say every  
> night? I’ve stumbled upon ‘CruiseControl’ (http://  
> [cruisecontrol.sourceforge.net/](http://cruisecontrol.sourceforge.net/)) and think this tool might do the job.  
> Any better ideas?

I’ve used cruisecontrol.rb ([http://cruisecontrolrb.thoughtworks.com/](http://cruisecontrolrb.thoughtworks.com/)),  
but there are others. The magic term to google for is continuous  
integration (and you probably want to run closer to every commit  
rather than every night)

Fred
