IEEE Transactions on Services Computing 8
(5): 740-754 (2015)
[The article was selected as the spotlight paper of this issue]
Lijun Mei 2 , W.K. Chan 3 , T.H. Tse 4 , Bo Jiang 5 , and Ke Zhai 4
[paper from IEEE Xplore | paper from IEEE digital library | technical report TR-2014-04]
An external web service may evolve without prior notification.
In the course of the regression testing of a workflow-based web service, existing test case prioritization techniques may only verify the latest service composition using the not-yet-executed test cases, overlooking high-priority test cases that have already been applied to the service composition before the evolution.
In this paper, we propose Preemptive Regression Testing (PRT), an adaptive testing approach to addressing this challenge.
Whenever a change in the coverage of any service artifact is detected, PRT recursively preempts the current session of regression test, creates a sub-session of the current test session to assure such lately identified changes in coverage, and then resumes the execution of the suspended regression test session with a modified execution priority of the test cases in the test suite.
PRT terminates only when each test case in the test suite has been executed at least once without any preemption activated in between any test case executions.
The experimental result confirms that testing workflow-based web service in the face of such changes is very challenging; and one of the PRT techniques shows its potential to overcome the challenge.
Keywords: evolving service composition, adaptive regression testing
|EVERY VISITOR COUNTS:|