Software Testing: Module 2
What is the equation for the Total days needed for defect fixes
(Outstanding defects yet to fixed + Defects that can be found in future test cycles) / Defect-fixing capability
What are the three essential elements of the test infrastructure
-A test case database (TCDB) -A defect repository (DR) -Configuration management repository and tool
Internal documentation of test scripts should include the following:
-Appropriate header level comments at the beginning of a file that outlines the functions to be served by the test -sufficient in-line comments, spread throughout the file, explaining the functions served by the various parts of a test script -Up-to-date change history information, recording all the changes made to the test file
What does change control ensure?
-Changes to test files are made in controlled fashion and only with proper approvals -Changes made by one test engineer are not accidentally lost or overwritten by other changes -Each change produces a distinct version of the file that is recreatable at any point of time -At any point of time, everyone gets access to only the most recent version of the test files (except in exceptional cases)
What should naming conventions enable?
-Easy identification of the product functionality that a set of tests are intended for -Reverse mapping to identify the functionality corresponding to a given set of tests
What are some internal standards
-Naming and storage conventions for test artifacts -Document standards -Test coding standards -Test reporting standards
Best practices in testing can be classified into three categories which are
-Process related -People related -Technology related
What are the two types of Metrics
-Product metrics -Process metrics
What is the three classification of Product Metrics?
-Project metrics -Progress metrics -Productivity metrics
criteria that will be used in deciding which scripts to automate include:
-Repetitive nature of the test -Effort involved in automation -Amount of manual intervention required for the test -Cost of automation tool
What are the classifications of Progress metrics?
-Test defect metrics -Development defect metrics
Metrics in testing help in identifying what?
-When to make release -What to release -Whether the product is being released with known quality
what should a test case specification identify?
1.The Purpose of the test 2.Items being tested, along with their version/release number as appropriate 3.Environment that needs to be set up for running the test case 4.Input data to be used for the test case 5.Steps to be followed to execute the test 6.The expected results that considered to be "correct results." 7.A step to compare the actual results produced with the expected results 8.Any relationship between this test and other tests
What is Project metrics?
A set of metrics that indicates how the project is planned and executed
What is Productivity metrics?
A set of metrics that takes into account various productivity numbers that can be collected and used for planning and tracking testing activities
What is Progress metrics?
A set of metrics that tracks how the different activities of the project are progressing
What is initial effort called?
Baselined effort
What is the equation for the Days needed for release
Days needed for release = Max [Days needed for testing, (Days needed for defect fixes + Days needed for regressing outstanding defect fixes)]
What are the two factors to be tracked for any phase or activity?
Effort and Schedule
What are the two types of standards?
External Standards and Internal Standards
A set of data is called?
Information
sets of information combined to provide a perspective is called
Metrics
When the effort estimates are re-evaluated again, what is the re-evaluated effort estimate called?
Revised effort
what does SCM repository stand for?
Software configuration Management repository
what is the equation for variance %
[(Actual effort - Revised estimate) / Revised estimate] * 100
what is a test case?
a series of steps executed on a product, using a predefined set of input data, expected to produce a predefined set of outputs, in a given environment
what is data drilling?
an approach involved in getting the granular detail
What is Effort?
is the actual time that is spent on a particular activity or a phase
what is schedule variance?
is the deviation of the actual schedule from the estimated schedule
what is "Elapsed Days"?
refers to the difference between the start of an activity to the completion of the activity
What are internal Standards?
standards formulated by a testing organization to bring in consistency and predictability
What are external Standards?
standards that a product should comply with, are externally visible, and are usually stipulated by external consortia.
what does version control ensure?
that the test scripts associated with a given release of a product are baselined along with the product files
what is the equation for the days needed to complete testing
total test cases yet to be executed/ test case execution productivity