Method and test environment for automatic testing a software product comprising a plurality of software packages

    公开(公告)号:GB2524798A

    公开(公告)日:2015-10-07

    申请号:GB201405999

    申请日:2014-04-03

    Applicant: IBM

    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).

Patent Agency Ranking