Initial Result of Design-to-Test Method for Developing Architecture of the Large-Scale Complex Industrial Software
Ge Chen,Junbo Zhang,Wei Cui,Mengcheng Ma
DOI: https://doi.org/10.2139/ssrn.4209046
2022-01-01
SSRN Electronic Journal
Abstract:In the process of developing large-scale complex industrial software, defects may occur at any point. Cost of correction will increase exponentially if the defects are not detected until later stages, especially the architectural defects. To address this problem, an architecture design-to-test solution is proposed in this paper to find the architectural defects in the design stage, so it can effectively reduce the potential rework cost. First, we introduce a mathematical model for service-based software architecture testing, and determine that the testing content is to check the correctness of business processes the architecture can achieve. The paper then applies a pruning technique to cut down on the quantity of business processes, and proves its effectiveness of reducing test cost. Finally, an implementation method is proposed for architecture testing, including the process encoding, the process decoding, and a search algorithm considering some constraints, to search out all the business processes the architecture can achieve. We test the proposed method in an architecture design of typical industrial software, and the results show the method can indeed help us find architectural defects and reduce the potential rework cost.