STE Unit 3
STE Unit 3
1. Scope of testing
2. Set objectives of test planning
3. Methodology for testing
4. Requirement,
5. Entry and exit criteria
6. Develop Test matrix
7. Test estimation and administrative component
8. Write and execute test cases.
9. Deciding Criteria for test-to-pass, test-to-fail,
10. Schedule of testing
11. The main purpose of test planning is to show whether software is correct as per
requirement.
1. Pass or fail: - Specify the criteria that will be used to determine whether each test item
has passed or failed testing.
3. Resume Criteria: - Specify the criteria which must be redone when testing is resumed .
Resource Requirements
Resource requirement is a detailed summary of all types of resources required to complete
project task. Resource could be human, equipment and materials needed to complete a
project.
The resource requirement and planning is important factor of the test planning because helps
in determining the number of resources (employee, equipment…) to be used for the project.
Therefore, the Test Manager can make the correct schedule & estimation for the project.
Some of the following factors need to be considered:
Machine configuration (RAM,processor,disk)needed to run the product under test.
Overheads required by test automation tools, if any
Supporting tools such as compilers, test data generators, configuration management
tools.
The different configurations of the supporting software(e.g. OS)that must be present
Special requirements for running machine-intensive tests such as load tests and
performance tests.
Appropriate number of licenses of all the software
1 Test Manager Manage the whole project Define project directions Acquire appropriate
resources
3. Developer in Implement the test cases, test program, test suite etc.
Test
4. Test Builds up and ensures test environment and assets are managed and
Administrator maintained Support Tester to use the test environment for test execution
No. Member Tasks
5. SQA members Take in charge of quality assurance Check to confirm whether the testing
process is meeting specified requirements
OR
Human Resource: The following table represents various members in your project team
System Resource: For testing, a web application, you should plan the resources as following
tables:
No Resources Descriptions
.
1 Server Install the web application under test This includes a separate web server, database
server, and application server if applicable
2 Test tool The testing tool is to automate the testing, simulate the user operation, generate the
test results There are tons of test tools you can use for this project such as Selenium,
QTP…etc.
3. Network You need a Network include LAN and Internet to simulate the real business and user
environment
4. Computer The PC which users often use to connect the web server
Test Deliverables are the artifacts which are given to the stakeholders of software project
during the software development lifecycle. There are different test deliverables at every phase
of the software development lifecycle. Some test deliverables are provided before testing
phase, some are provided during the testing phase and some after the testing cycles is over.
The different types of Test deliverables are:
Test Plan
Testing Strategy
Test Scripts
Test Data
Test Results/reports
Install/config guides
Defect Reports
Release notes
Milestones: milestones are the dates of completion given for various tasks to be performed in
testing. These are thoroughly tracked by the test manager and are kept in the documents such
as Gantt charts, etc.
Test Management:
It concerned with both test resource and test environment management. It is the role of test
management to ensure that new or modified service products meet business requirements for
which they have been developed or enhanced.
Test Management Process:
Test Plan: Test plan served as an initial sketch to carry out the testing. Testing is being
tracked and monitored as per the test plan. It gives a prior picture of test challenge and
aspect that will be carried out for the software.
Test design affords how to implement the testing. Typically creating test cases is with
inputs and expected output of the system and choosing which test cases are necessary for
the execution of the test.
Test Execution : Manner of executing and test the actual system result against the
expected result is test execution. Test execution can be done manually and by using
automation suit. During the execution tester needs to make sure, that the user’s need of
the software is occupied in the software.
Exit criteria determines when to stop the test execution. Exit criteria is defined during the
test plan phase and used in the test execution phase as a mile stone. Tester needs to set the
exit criteria at the beginning, exit criteria may change during the project run as well.
Test reporting gives the picture of test process and result for the particular testing cycle.
To define the element in the test reporting the first thing that needs to be considered is
whom the audiences of the test report are. For an example a project manager will like to
see the high level picture of the testing, intermediate people will wish to view more detail
and the client will expect the test reporting in the criteria such as requirement basis,
feature basis.
1. Naming and storage conventions for test artifacts: Every test artifacts(test specification,
test case, test results and so on)have to be named appropriately and meaningfully. It enables
a) Easy identification of the product functionality.
b) Reverse mapping to identify the functionality corresponding to a given set of tests. e.g.
modules shall be M01,M02.Files types can be .sh, .SQL.
In addition to file naming conventions, the standards may also stipulate the conventions for
directory structures for tests. These directory structures are mapped into configuration
management repository.
2. Documentation standards: Documentation standards specify how to capture information
about the tests within the test scripts themselves. It should include:
a. Appropriate header level comments at the beginning of a file that outlines the functions to
be served by the test.
b. Sufficient inline comments, spread throughout the file
c. Up-to-Date change history information, reading all the changes made to the test file.
TCDB
Testing requires a robust infrastructure to be planned upfront. This infrastructure is made up
of three essential elements.
1. A test case database (TCDB) (additional): A test case database captures all the
relevant information about the test cases in an organization. Some of the entities and
the attributes are given in following table
1 Test case Records all static information about tests. 1)Test case Id 2) Test case
name (File name) 3) Test case
owner 4) Associated files for
test case.
2 Test case product Provide mapping between the tests and Test case Id Module Id
cross reference the corresponding product features,
enables identification of test cases for
given feature.
3 Test case run Gives the history of when the test case 1) Test case Id 2) Run date 3)
history was run and what was result , provided Time taken 4) Run
inputs on selection of test for regression status(Success/ Failure)
runs
4 Test casedefect Gives details of test cases introduced to 1) Test case Id 2) Defect
crossreference test certain specific defects detected in the reference
product, provides inputs on the selection
of test for regression runs.
Defect Repository:
Defect details Records all the ― static‖ information Defect ID Defect priority /severity
about the tests Defect description Affected product(s)
Any relevant version information (for
example, OS version) Customers who
encountered the problem (could be
reported by the internal testing team
also) Date and time of defect
occurrence
Defect test Provides details of test cases for a given Defect ID Test case ID
details defect. Crossreferences the TCDB
Fix details Provides details of fixes for a given Defect ID Fix details (file changed ,fix
defect; crossreferences the configuration release information)
management repository
Communication Captures all the details of the Test case ID Defect reference # Details
communication that transpired for this of communication
defect among the various stakeholders
these could include communication
between the testing team and development
team, customer communication, and so on.
Provides insights into effectiveness of
communication
1. Test Summary report Identifier 2 Description: Identify the test items being reported in this
report with test id 3 Variances: Mention any deviation from test plans, test procedures, if any.
4 Summary of results: All the results are mentioned here with the resolved incidents and their
solutions. 5 Comprehensive assessment and recommendation for release should include: Fit
for release assessment and recommendation of release.
OR
A test report is any descriptions, explanation or justification the status of a test project.
A comprehensive test report is all of those things together.
It gives the short description about the objective behind preparation of the document.
Example: Document explaining various activities performed as part of Testing.
Step 2: Overview of an Application
In this step brief description about the application to be tested is mentioned.
User registration
Registration confirmation
Ticket booking
Hotel package booking
Payment
Out of scope:
Multi-tenant user testing
Concurrency
Untested modules:
The User Registration page that has the field values in mixed cases
Step 4: Test Metrics
Test metrics include the following:
The count of planned test cases
The count of executed test cases
The count of passed test cases
The count of failed test cases
The usage of test metrics is to analyze test execution results, the status of the cases, and
the status of the defects, among others. The testing team can also generate charts or
graphs to represent the distribution of defects: function-wise, severity-wise, or module-
wise.
Step 5: Implemented Testing Type
The team includes all the types of testing it has implemented on the ABC application.
The motive for doing so is to convey to the readers that the team has tested the
application properly.
Smoke testing
When the QA team receives the build, the team implements smoke testing to
confirm whether the crucial functionalities are working as expected. The team
accepts the build and commences testing. After the software application passes
the smoke testing, the testing team gets the confirmation to continue with the next
type of testing.
Regression testing
The team conducts testing not on a particular feature or defect fix but on the
entire software application. It consists of defect fixes and new enhancements.
This testing confirms that after these defect fixes and new enhancements exist in
the software application, the application has rich functionality. The team adds
and executes new test cases to the new features.
System Integration testing
The team performs system integration testing to ensure that the software
application is functioning as per the requirements.
Step 6: Test Environment and Tools
The team notes all the details of the test environment used for the testing activities (such
as Application URL, Database version, and the tools used).
The team can create tables in the following format.