4 Replies Latest reply on Sep 22, 2006 7:15 AM by Matthias Gommeringer

    How to test script expressions

    Matthias Gommeringer Newbie

      Hello everyone,

      I have some questions about testing and validating script expressions within a processdefinition:

      Is there a way I can verify the correctness of the syntax of a beanshell script? At best I would like to do this verification before a new processdefinition is deployed into the database.

      Is there a simple way to unit test beanshell scripts from the processdefinition.xml? (where the default jBPM variables like executionContext etc. are already initialized)


      For me it is important to validate the "handmade" beanshell scripts as early as possible because they are quite error-prone since they are made without any IDE support.

      Thanks in advance and regards,
      Matthias