Experience Report: Running FIT and Fitnesse with Ruby
In this article, you can see how Ron and Chet...
- download and install the latest version of Fitnesse
- find out the hard way what software Fitnesse depends on
- install Ruby/Fit, now available as a Rubygem
- create web pages in Fitnesse for tests
- use the built-in fixtures that ship with Ruby/Fit
- write their own custom fixture Ruby
As usual, Ron and Chet's explorations end with more questions than answers. Ron writes:
- We haven't built any real model code. Right now, our fixtures are doing the work. Frankly, I like that fact. When I've seen teams using Fit or FitNesse, they often have built some object or objects, and start trying to build a fixture that interfaces to those objects. It can take a long time before the test runs. Working as we did, it's a lot like the "fake it till you make it" practice in Test-Driven Development. Our test runs ... it's just not talking to many real objects yet.
- We need to learn more about fixtures. There aren't many fixtures available for Ruby Fit / FitNesse. If we get smarter than we are right now, maybe we can get involved in trying to create some. In any case, we need to learn what's there and how to use them.
- We should take a look at how to organize tests and what to do with them. That will require us to figure out some little kind of application.
- ... and probably much, much more ...
Ruby Book List
Mike Hartington Jul 26, 2015