vPAV
vPAV copied to clipboard
As an IT architect I want to generate scaffolds of path-based test cases in order create these test cases more efficiently and in a standardized way
Results of the Delphi study showed that testing of process applications is an area where IT architects are not really satisfied with current approaches compared to other areas. Especially the decision on, which tests are to be executed and how to create them, was a major concern.
One group of tests for process applications tests specific path a process instance might take. For these tests, the focus is on whether tasks are executed in the correct sequence instead of whether individual tasks are executed correctly. Therefore, the preferred way of creating the test cases is by mocking the execution of tasks, e.g. by using Mockito. Creating these tests is cumbersome in the sense that each task that is potentially executed needs to be mocked.
An idea make this type of testing more efficient would be by selecting a path that is to be tested interactively in the process model. From this selection a scaffold of the test case including all necessary mocks (and other parts that can be created automatically) could be generated. This generated code serves as a scaffold and needs to be enhanced/adjusted by the developer.
This feature doesn't build on top of validations and consistency checks of vPAV. Therefore, it needs to be discussed whether to integrate it into vPAV or develop a separate solution.