[en] Over the past decade, Cyber-Physical Systems (CPSs) have gained prominence as core-enabling technologies in the development of multiple domains, thanks to its ability to integrate digital capabilities with physical processes. Furthermore, the demand for configurability of CPSs has been increasing rapidly to respond to changing business requirements. When engineers approach the development of Highly-Configurable Cyber-Physical Systems (HCCPSs), product line engineering techniques are often adopted, taking advantage of variability management strategies that allow handling a large number of configurations. In addition, to address intrinsic challenges of testing CPSs, engineers are relying on simulation-based techniques, thus avoiding the need for building real prototypes and enabling testing at early stages. However, HCCPS testing is still a time-consuming challenge primarily due to the intensive resource consumption when simulating physical processes. Consequently, optimization of testing HCCPSs is paramount. Several approaches have tackled the test optimization challenge, most of them focused on reducing the number of products to be tested, by selecting a representative subset. Other approaches have proposed optimization in terms of test case selection and prioritization. However, little attention has been paid to optimization of both, products and test cases, in a combined manner. This thesis aims at advancing the current practice of optimizing HCCPS testing by proposing a method to increase the fault detection rate in time-constrained scenarios. To this end, we propose a dynamic test prioritization approach combining both, products and test cases. The approach sets a test plan that executes small groups of test cases with products in iterative executions. After every iteration, the test plan is dynamically re-ordered, leveraging information of test cases being executed in specific products. The approach has been evaluated and validated for the specific context of HCCPSs, however, it might eventually pave the way for its use in other type of product lines.

[eu] Azken hamarkadan zehar sistema ziber-fisikoek (ingelesezko sigletako CPS) protagonismoa irabazi dute domeinu anitzen garapenean, gaitasun digitalak sistemen prozesu fisikoekin integratzeko duten trebetasunari esker. Gainera, CPSen konfiguragarritasun-eskaria azkar handitu da, enpresa-eskakizun aldakorrei erantzuteko. Ingeniariek oso konfiguragarriak diren sistema ziber-fisikoen garapena lantzen dutenean (ingelesezko sigletako HCCPS), ohikoa da produktu-lerroetan oinarritutako ingeniaritza-teknikak hartzea, konfigurazio ugari erabiltzea ahalbidetzen duten aldakortasuna kudeatzeko estrategiak baliatuz. Gainera, CPSen proben berezko erronkei aurre egiteko, ingeniariek simulazioan oinarritutako tekniketara jotzen dute, prototipo errealak eraikitzeko beharra saihestuz eta etapa goiztiarretan probak egitea ahalbidetuz. Hala ere, HCCPSak probatzea denbora asko eskatzen duen erronka izaten jarraitzen du, batez ere prozesu fisikoak simulatzeko behar diren baliabideen kontsumo handia dela eta. Ondorioz, HCCPSen probak optimizatzea funtsezkoa da. Hainbat ikuspegik heldu diote probak optimizatzeko erronkari; horietako gehienak probatu beharreko produktuen kopurua murriztean jarri dute arreta, azpimultzo adierazgarri bat hautatuz. Beste ikuspegi batzuek proba-kasuak hautatzeko eta lehenesteko optimizazioa proposatu dute. Hala ere, arreta gutxi jarri da biak, produktuak eta proba-kasuak, modu konbinatuan optimizatzeko. Tesi honen helburua HCCPSen probak optimizatzeko egungo praktika aurreratzea da, denbora mugatua duten egoeratan akatsen detekziotasa handitzeko metodo bat proposatuz. Horretarako, probak lehenesteko ikuspuntu dinamiko bat proposatzen dugu, produktuak eta proba-kasuak konbinatzen dituena. Lehenik froga-plan bat ezartzen da, eta froga-kasuen multzo txikiak exekutatzen dira produktuekin batera iterazio ezberdinetan. Iterazio bakoitzaren ostean, proba-plana dinamikoki berrantolatzen da, produktu espezifikoetan exekutatzen diren proba-kasuen informazioaz baliatuz. Ikuspegia HCCPSen testuinguru espezifikorako ebaluatu eta balioztatu da, baina beste produktu-lerro batzuetan erabiltzeko bidea erraztu dezake.