Hi List,

this is a little RFC (request for critics|comments|contributions).

I started a new little project :

  http://github.com/jmettraux/ruote-cukes

Basically it's about providing basic cucumber (http://cukes.info) step
definitions for specifying ruote process definitions.

The initial implementation was reviewed by Nicholas Faiz (thanks !)
and his comment was that it could be more high-level. I totally agree
with that

Anyway, in the spirit of "release early, release often", here is a
little sample of what is currently possible, out of the box :

---8<---
  Scenario: alpha to bravo
    Given I have a ruote engine
    And the catchall participant is registered
    When I launch the flow
      """
      Ruote.process_definition do
        sequence do
          alpha
          participant :ref => '${f:next}'
        end
      end
      """
    Then the process should reach alpha
    When I get the first workitem of participant alpha
    And I update the workitem with
      | next | charly |
    And I reply with the workitem
    Then the process should reach charly
--->8---

As you can see, there is room for improvement.

I plan on exploring participant specifications as well.


Cheers,

-- 
John Mettraux   -   http://jmettraux.wordpress.com

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

Reply via email to