Morelia for BDD in Python

Phlip phlip2005 at gmail.com
Sun Jul 10 11:29:09 EDT 2011


Two of my feature requests for Morelia:

 - integrate with the test runner (nose etc.) to provide one
    dot . per passing step

 - insert a long multi-line abstract string (typically
    XML) with inside [[CDATA-style escaping tags

 - the ability to stub a step as <not passing yet>

 - the ability to pass a | delimited | table into a step
    as an argument containing an array, instead of unrolling
    the table into multiple calls to one step

 - a rapid conversion to an HTML report, with folding blocks,
     as an instant project documentation.

Lack of the second option is why we _didn't_ use M for the BDD test
runner on our latest project. (The onsite customer is an XML-freak,
AND the lead architect until I can manage to retire him upstairs!;)

But if I could put those four in, then write a disposable script that
converted our XML "project definition" file back into Morelia-Cucumber-
Gherkin notation, I'd have Morelia back in our project!



More information about the Python-list mailing list