When changes are performed on an automated production system (aPS), new faults can be accidentally introduced in the system, which are called regressions. A common method for finding these faults is regression testing. In most cases, this regression testing process is performed under high time pressure and on-site in a very uncomfortable environment. Until now, there is no automated support for finding and prioritizing system test cases regarding the fully integrated aPS that are suitable for finding regressions. Thus, the testing technician has to rely on personal intuition and experience, possibly choosing an inappropriate order of test cases, finding regressions at a very late stage of the test run. Using a suitable prioritization, this iterative process of finding and fixing regressions can be streamlined and a lot of time can be saved by executing test cases likely to identify new regressions earlier. Thus, an approach is presented in this paper that uses previously acquired runtime data from past test executions and performs a change identification and impact analysis to prioritize test cases that have a high probability to unveil regressions caused by side effects of a system change. The approach was developed in cooperation with reputable industrial partners active in the field of aPS engineering, ensuring a development in line with industrial requirements. An industrial case study and an expert evaluation were performed, showing promising results.
翻译:在自动生产系统(APS)上进行修改时,新的故障可能会不小心在系统中引入,这种系统称为回归系统。发现这些缺陷的一个常见方法是回归测试。在多数情况下,这种回归测试过程是在高时间压力下进行的,在非常不舒服的环境中现场进行。到目前为止,没有自动支持在完全一体化的PS中找到适合查找回归的系统测试案例并确定其优先次序。因此,测试技术员必须依靠个人直觉和经验,可能选择不适当的测试案例顺序,在测试运行的后期发现回归。使用适当的优先排序,这种反复的查找和修正回归过程可以简化,通过执行可能早期发现新的回归的测试案例可以节省大量时间。因此,本文中提出的方法是使用以往从过去的测试执行中获得的运行时间数据,并进行变更识别和影响分析,以便优先处理那些极有可能披露系统变化的副作用造成的回归的案例。该方法是与活跃于空间系统工程领域的声誉良好的工业伙伴合作开发的,确保与工业要求一起进行有前途的研究。一项工业案例研究。