brunobuzzi / BpmFlow

An implementation of BPMN standard using GemStone/S®, Orbeon®, Bizagi® and Highcharts®
7 stars 4 forks source link

Remove KeepTempObjectsInSystem class var #1152

Closed brunobuzzi closed 4 years ago

brunobuzzi commented 4 years ago

Instead of have a KeepTempObjectsInSystem to keep created object on System we should create a BpmPopulateProcessDefinitionsTest and BpmPopulateProcessInstancesTest. These test should include both operations:

This is much more clean than KeepTempObjectsInSystem.

brunobuzzi commented 4 years ago

In the case of Forms it will easy to implement a different approach than KeepTempObjectsInSystem but with more complex scenarios like Workflows the populate/depopulate scenario is highly complex becasue the steps of the workflow are embedded in the Test it self. So the implemented option is to keep KeepTempObjectsInSystem but in an Abstract package than can be reused by any other project. And if two projects are in the same image then KeepTempObjectsInSystem is global to all.