• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Fitnesse

 
Ranch Hand
Posts: 511
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello there,

I read the the tutorial for Fitnesse and was very impressed!

Question(s):

(1) Where is the JavaDoc API (web docs) for FIT?

(2) Is there an Eclipse plug-in for Fitnesse (and if there is, what
does it do)?

(3) Any good online tutorials or books? The tutorial that comes
bundled with Fitnesse doesn't really explain how to write the
intermediary code which binds fixtures (written in Java) with FIT
tables (located in the wiki). Would appreciate it if some one could
point me to a good URL or book which explains everything.

(4) Is it plausible to use Fitnesse to write user acceptance tests /
customer tests for web applications which are connected to a Hibernate
ORM based persistence layer?

Sincerely yours,
[ March 14, 2007: Message edited by: Unnsse Khan ]
 
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I really don't remember where I got enough doc to integrate Fit with my own Wiki but it wasn't terribly hard. Maybe the FitDocumentation page. See also the Fit Book online or the Fit Book dead trees.

I'll skip to #4 ... I worked on a system where almost nothing was testable without having the EJB server up and running. I thought about running Fit tests inside there and never got that far. If you have things you can JUnit test outside your server, you can proabably Fit test them, too.

Someone may open the debate of "it isn't x kind of test if it uses the database" but I really don't care as long as it's convenient and fast enough to run often.

All Java testing aside, I wanted to use Fit to specify and test database data. We had a great many rules that were data driven. I trusted the code, but not the data migration. I made a generic fixture that tested "For a given SQL query (of any complexity you like) you should get these results." The folks who really did the work were not sold; they insisted on Use Case Documents and Mercury tests of the UI, both of which were pretty evil.

Best of luck with Fitnesse. I think it's a great way to go!
[ March 14, 2007: Message edited by: Stan James ]
reply
    Bookmark Topic Watch Topic
  • New Topic