TY - CHAP
T1 - A Model Based Approach for White Box Testing
AU - Sriganesh, Sujithra
AU - Singh, Vivek Kumar
AU - Mani, Sudha
AU - Ramanathan, Chandrashekar
N1 - Model Based Testing (MBT) has gained a lot of prominence in recent times with organizations looking for automation of test case design and execution in lieu of a manual testing process. Attempts to automate the testing process have been carried out extensively before, at a black box level.
PY - 2011/1/1
Y1 - 2011/1/1
N2 - Model Based Testing (MBT) has gained a lot of prominence in recent times with organizations looking for automation of test case design and execution in lieu of a manual testing process. Attempts to automate the testing process have been carried out extensively before, at a black box level. There are no approaches that automate the test case generation at a white box level. White box testing requires the representation of business logic, close to the code. Activity diagrams in the software process are drawn at a higher abstraction level. So, to facilitate white box testing we propose a model that includes Method Level Activity Diagram (MAD) representing the business logic for each method. These diagrams are drawn from the sequence diagram and the requirement specification of a system. The activity graph is constructed for each Method Level Activity diagram. While automating the test case design at white box level, test case stubs for each of the independent paths in the activity graph are generated. Test case stubs are generated for all the methods of each class in the system. In this approach, the flows of activities in each path are embedded as comments in the test case stub corresponding to that path.
AB - Model Based Testing (MBT) has gained a lot of prominence in recent times with organizations looking for automation of test case design and execution in lieu of a manual testing process. Attempts to automate the testing process have been carried out extensively before, at a black box level. There are no approaches that automate the test case generation at a white box level. White box testing requires the representation of business logic, close to the code. Activity diagrams in the software process are drawn at a higher abstraction level. So, to facilitate white box testing we propose a model that includes Method Level Activity Diagram (MAD) representing the business logic for each method. These diagrams are drawn from the sequence diagram and the requirement specification of a system. The activity graph is constructed for each Method Level Activity diagram. While automating the test case design at white box level, test case stubs for each of the independent paths in the activity graph are generated. Test case stubs are generated for all the methods of each class in the system. In this approach, the flows of activities in each path are embedded as comments in the test case stub corresponding to that path.
UR - http://ebooks.asmedigitalcollection.asme.org/content.aspx?bookid=327§ionid=38784948
M3 - Chapter
BT - International Conference on Computer Engineering and Technology, 3rd (ICCET 2011)
ER -