Fitnesse is a wiki built atop Fit, which creates test cases from HTML input. The wiki interface allows non-technical users to edit these input/output tables, and by interspersing these tables with a descriptive story (in XP/agile parlance) you get an executable requirements specification. Written by the user. Sounds like Utopia.

While FIT does indeed rock (especially with FitLibrary) it's not the only solution to getting requirement specs written by the user.

A technique I use a fair bit is to create a domain specific language for the user to write there tests in. Usually in Perl or Ruby. So instead of the FIT document shown here the user might write:

do_chat { connect_user "sarah"; user "sarah" creates_room "fit"; user "sarah" enters_room "fit"; users_in_room "fit" name_is "sarah"; };

Never realising they're writing Perl :-)

Another common solution I've used is to get the user writing their test input/output in an Excel spreadsheet and parse that. Again, you get the user to use the tools they're more familiar with.


In reply to Re: How do I get good acceptance tests? by adrianh
in thread How do I get good acceptance tests? by pernod

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.