-
公开(公告)号:GB2524798A
公开(公告)日:2015-10-07
申请号:GB201405999
申请日:2014-04-03
Applicant: IBM
Inventor: PETRAKI EIRINI , KUHL FABIAN , MUELLER CHRISTIAN , ZELLNER MARKUS
IPC: G06F11/36
Abstract: A method for testing a software product (10) comprising a plurality of software packages (P1, ..., P(Z)), which are to be installed or de-installed in defined order, comprises the steps: providing software package dependency and prerequiÂsite information (142) for the software product (10); analyzing the software package dependency and prerequisite information for each software package and creating a dependency matrix (112) for said software packages with each row representing one dependency levÂel; assigning each software package to at least one level based on its dependencies to other softÂware packages; wherein in the dependency matrix (112) each level contains software packages, which have no dependencies amongst themselves and deÂpend on at least one other software package assigned to a previÂous level; and a lowest level contains software packages without any dependencies; reducing the dependÂency matrix (112) by searching for software packages assigned to more than one level, determinÂing the highest level the software package is asÂsigned to, and deleting the software package from lower levels it is assigned to; determining possible software package test combinations of the software product based on the reduced dependency matrix (112); and performÂing installation or de-installation procedure of software packÂages of the software product (10) based on the software package test combinations to test installation or deinstallation order of the software packages of the software product (10).