Introduction to Software Engineering
Introduction to Software Engineering CS 350
Popular in Course
Popular in ComputerScienence
This 1 page Class Notes was uploaded by Armani Kunde on Monday September 28, 2015. The Class Notes belongs to CS 350 at Old Dominion University taught by Staff in Fall. Since its upload, it has received 15 views. For similar materials see /class/215312/cs-350-old-dominion-university in ComputerScienence at Old Dominion University.
Reviews for Introduction to Software Engineering
Report this Material
What is Karma?
Karma is the currency of StudySoup.
Date Created: 09/28/15
CS 350 Recitation Topic Date Jan 19 2005 Objective use one basic testing support tool Topics Concept oftest coverage Documentation sources Compiling and running Assignment Due dates Tlhook 1 Concept Common testing goals Statement coverage run enough tests so that at the minimum every statement in the software is executed at least once The clerical task of keeping track of this is laborintensive and errorprone for big software systems Branch coverage run enough tests so that all branches are taken at least once Hence tools like gcov free version oftcov from the gnu project 2 gcov documentation Three options 1 gcov help short desciption of parameters 2 info gcov multipage description contains examples 3 man gcov older version of info less interactive 3 Compile and run instructions g fprofile arcs ftest coverage tmpcpp aout gcov tmpcpp 9000 of 10 source lines executed in file tmpcpp Creating tmpcppgcov Some comments the usual situation when testing is the program may need to be runs several times with different data or different conditions Thus the gcov software is set up so that each run of the code updates coverage data so that the gcov le can be checked to see the cumulative effect of multiple test runs For many testers the contents of the gcov le is used to guide the creation of additional test les or additional test conditions