3 ms·
Cool idea. In my job we are working on business process engine, and we have implemented many long business processes that involves user interactions and callin
by ajuc 16y ago
Cool idea.
In my job we are working on business process engine, and we have implemented many long business processes that involves user interactions and calling plSQL code.
Testing these processes manually is pain, we have tests using soapui, but writing tests in linear fashion is repetative and tedious, our test suite is lagging us. Also we use big databases and our tests unfortunately aren't isolated - we have to prepare data manually for tests to run.
This tree-like approach looks great. One problem is - the only way I see to create "stack of databases" is to use savepoint - rollback to savepoint around every node in tests tree.
We use hibernate, so rollback to savepoint won't be enough - we'll need to disable second level cache, and to do sth about first level cache - maybe flushing after each rollback to savepoint will do.
Anybody has experience with hibernate and rolling back to savepoint?