Hi Marius,

2007/2/13, Marius Erni <[EMAIL PROTECTED]>:
> Can you further explain what you mean by these points?
>
> >
> > 2 points on the check-list
> >
> > *) unit test for the process definition (automated tests)
>
> What is the suggested form? Write a testing software which validates some
> scenarios?

Some kind of testbed with mock participants / services.

Some examples of unit tests for process definitions :

http://openwfe.svn.sourceforge.net/viewvc/openwfe/trunk/openwfe-tests/tests_embedded/etest_12_iterator.py?view=markup
http://rubyforge.org/viewvc/trunk/openwfe-ruby/test/ft_16_fqv.rb?revision=238&root=openwferu&view=markup

These two examples are real "unit tests", they test the correct
behaviour of the engine.

Now nothing prevents us from extending this technique by providing
"mock" participants exhibiting  behaviours close to the ones of our
actual "real" participants (be they humans or systems).

Of course, validation of a process definition comes before these
"extended unit tests".

> > *) deployment on a staging server (semi-automated tests)
>
> Release the new workflow in a testing environment where the real activity
> can be simulated?

The final stage is validation in a "staging environment" by a QA team.
This is luxury, but in some organization and certain cases, it's
necessity and custom.

The staging environment is also used to test new implementations of
participants (and services) with production process definitions.

These are the classical steps for a process definition to graduate
into the "process portfolio" of a company.

After that, after having been run a certain number of times, process
definitions get "refactored" / "corrected", "replaced",... They're
just documents after all.


Best regards,

-- 
John Mettraux   -///-   http://jmettraux.openwfe.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenWFE users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/openwfe-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to