|
![]() |
|||
|
||||
OverviewPlease note that the content of this book primarily consists of articles available from Wikipedia or other free sources online. High Quality Content by WIKIPEDIA articles! In computer science, test stubs are programs which simulate the behaviors of software components (or modules) that are the dependent modules of the module being tested. Consider a software program which queries a database to obtain the sum price total of all products stored in the database. However, the query is slow and consumes a large number of system resources. This reduces the number of test runs per day. Secondly, the tests need to be conducted on values larger than what is currently in the database. The method (or call) used to perform this is get_total. For testing purposes, the source code in get_total could be temporarily replaced with a simple statement which returned a specific value. This would be a test stub. There are several testing frameworks available and there is software that can generate test stubs based on existing source code and testing requirements. Full Product DetailsAuthor: Lambert M. Surhone , Miriam T. Timpledon , Susan F. MarsekenPublisher: VDM Publishing House Imprint: VDM Publishing House Dimensions: Width: 22.90cm , Height: 0.50cm , Length: 15.20cm Weight: 0.153kg ISBN: 9786131042478ISBN 10: 6131042470 Pages: 96 Publication Date: 25 July 2010 Audience: General/trade , General Format: Paperback Publisher's Status: Active Availability: In Print ![]() This item will be ordered in for you from one of our suppliers. Upon receipt, we will promptly dispatch it out to you. For in store availability, please contact us. Table of ContentsReviewsAuthor InformationTab Content 6Author Website:Countries AvailableAll regions |