# Rails as an automated test framework

**URL:** <https://www.ruby-forum.com/t/rails-as-an-automated-test-framework/129444>\
**Category:** Rails\
**Created:** [February 18, 2008, 6:06pm UTC](https://www.ruby-forum.com/t/rails-as-an-automated-test-framework/129444 "2008-02-18T18:06:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![burrowsm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/d78d45/32.png) [@burrowsm](https://www.ruby-forum.com/u/burrowsm)\
**Post date:** [February 18, 2008, 6:06pm UTC](https://www.ruby-forum.com/t/rails-as-an-automated-test-framework/129444/1 "2008-02-18T18:06:51Z")

</div>

We are investigating the use RoR as the infrastructure for an automated  
test framework. Our application runs in a browser, so some form of  
watir-based test framework seems ideal. The Rails database would be  
used to store pass/fail test results. Has anyone done something like  
this with Ruby on Rails?

Curious minds want to know.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![burrowsm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/d78d45/32.png) [@burrowsm](https://www.ruby-forum.com/u/burrowsm)\
**Post date:** [February 18, 2008, 6:35pm UTC](https://www.ruby-forum.com/t/rails-as-an-automated-test-framework/129444/2 "2008-02-18T18:35:53Z")

</div>

Matt B. wrote:

> We are investigating the use RoR as the infrastructure for an automated  
> test framework. Our application runs in a browser, so some form of  
> watir-based test framework seems ideal. The Rails database would be  
> used to store pass/fail test results. Has anyone done something like  
> this with Ruby on Rails?

That is the exact target project of “Test Driven Ajax”:

[http://www.oreilly.com/catalog/9780596510657/](http://www.oreilly.com/catalog/9780596510657/)

–  
Phlip  
[http://assert2.rubyforge.org/](http://assert2.rubyforge.org/)
