15
TEST DOCUMENTATION DAVID TZEMACH QA LEAD /TESTING ARCHITECT WWW.DTVISIONTECH.COM 29/5/2016

Test documentation throughout the SDLC | David Tzemach

Embed Size (px)

Citation preview

Page 1: Test documentation throughout the SDLC | David Tzemach

TEST DOCUMENTATIONDAVID TZEMACH

QA LEAD /TESTING ARCHITECT. .WWW DTVISIONTECH COM

29/5/2016

Page 2: Test documentation throughout the SDLC | David Tzemach

TESTING IN SOFTWARE DEVELOPMENT LIFE CYCLE (SDLC)WHAT IS THE DEFINITION OF TESTING ? • SOFTWARE TESTING IS A PROCESS OF EXECUTING A PROGRAM

OR APPLICATION WITH THE INTENT OF FINDING THE SOFTWARE BUGS.

• IT CAN ALSO BE STATED AS THE PROCESS OF VALIDATING AND VERIFYING THAT A SOFTWARE PROGRAM OR APPLICATION OR PRODUCT:• CAN BE IMPLEMENTED WITH THE SAME CHARACTERISTIC.• MEETS THE BUSINESS AND TECHNICAL REQUIREMENTS THAT GUIDED IT’S

DESIGN AND DEVELOPMENT• WORKS AS EXPECTED

FOR ADDITIONAL INFORMATION::// . / - - - - /HTTP ISTQBEXAMCERTIFICATION COM WHAT IS A SOFTWARE TESTING

Page 3: Test documentation throughout the SDLC | David Tzemach

WHEN DO WE START (TRADITIONAL METHODOLOGIES)?THE TESTING EFFORT WILL START WHEN THE DEVELOPMENT PHASE IS DONE.

Page 4: Test documentation throughout the SDLC | David Tzemach

WHEN DO WE START (AGILE)?AGILE• THE TESTING EFFORT WILL START WHEN THE FIRST CODE IS

AVAILABLE.• TESTING IS AN INTEGRAL PART OF EACH DEVELOPMENT ITERATION.

Page 5: Test documentation throughout the SDLC | David Tzemach

SOFTWARE DOCUMENTATION 1. MARKET REQUIREMENTS DOCUMENT (MRD)2. PRODUCT REQUIREMENT DOCUMENT (PRD)3. FUNCTIONAL SPECIFICATION (FS)4. BUSINESS REQUIREMENTS DOCUMENT (BRD)5. SOFTWARE REQUIREMENTS SPECIFICATION (SRS)6. SOFTWARE TEST PLAN (STP)7. SOFTWARE TEST RESULTS (STR)8. REQUIREMENT TRACEABILITY MATRIX (RTM)

Page 6: Test documentation throughout the SDLC | David Tzemach

MARKET REQUIREMENTS DOCUMENT (MRD)

This document describes the Macro market requirements for the application based on the customer requirements.

Definition

Prior to requirement phase, it’s the basic document that you must have prior to starting the SDLC

Relevant to Phase?

Product Marketing mangerProduct manager (PM)

Who is responsible to deliver it?

The MRD document will help the team to understand the following:• The Vision of how the application will be like, • List of features,• Target market,• why the customers will want this application• Competition from similar application • Limitations of the application

Target

MRD Review Responsibilities of the QA team

Page 7: Test documentation throughout the SDLC | David Tzemach

PRODUCT REQUIREMENT DOCUMENT (PRD)

A Set of software requirements and specifications that are used to develop the upcoming application, the PRD should provide the solutions to the issues defined in the MRD.

Definition

Planning / Requirements Analysis Relevant to Phase?The following teams: Sales, Product Marketing, Technical support, product Architect etc.

Who is responsible to deliver it?

The PRD should help the Engineering team to understand what the product supposed to do. therefore it should clearly define:• The purpose of the feature/product.• Define the application functionalities. • Define the application behavior.• Expected use of the product• What problem does it solve.

Target

• Analyze the requirements• Participate in all meetings• Rise any risk that may see• Provide feedback • Review the PRD

Responsibilities of the QA team

Page 8: Test documentation throughout the SDLC | David Tzemach

FUNCTIONAL SPECIFICATION (FS)

The FS document is used to describe (low-Level) the set of functionalities and activities that the application must perform .

Examples:Description of the inputs/outputsDescription of the system integrations Description of the Workflows

Definition

Design / Coding Relevant to Phase?Engineering (Developers, DBA Etc.)Software ArchitectsSoftware manager

Who is responsible to deliver it?

This document will allow us to know how the application designed prior to implementation .

Target

• Analyze the requirements• Participate in all meetings• Rise any risk that may see• Provide feedback • Review the FS

Responsibilities of the QA team

Page 9: Test documentation throughout the SDLC | David Tzemach

BUSINESS REQUIREMENTS DOCUMENT (BRD)

The BRD document should provide the details about the solution for a project based on the customer requirements and expectations.

Definition

Requirements analysis Relevant to Phase?There is a number of team that are responsible to create the BRD document:

• Product Managers • Product Marketing• Product Managers• Business Analysis

Who is responsible to deliver it?

• Describe the business requirements that should be met by the new system (Data, Interface, functional etc.).

Target

BRD Review Responsibilities of the QA team

Note!In many companies the MRD is combined with the PRD into a single document.

Page 10: Test documentation throughout the SDLC | David Tzemach

SOFTWARE REQUIREMENTS SPECIFICATION (SRS)

The SRS document contains the description and use cases (Functional / non-Functional) of a software to be developed, in addition it should describe the essential behavior of the application from the client perspective.

Definition

Requirements / Design Relevant to Phase?• Technical writers• Business analyst• Project Manager.

Who is responsible to deliver it?

• Assures that both the client and the organization are on the same page regarding what is required from the client perspective.

• Definition of the software limitations.• Determine the amount of work. • Definition of the software capabilities (Functional, Non-Functional ,

interfaces, reliability etc.).• Breaking problems into small parts which will help reduce

development effort.

Target

This Document is critical to the QA tests, therefore it should be the Key to write a successful test plan that’s based on it.

Responsibilities of the QA team

Page 11: Test documentation throughout the SDLC | David Tzemach

SOFTWARE TEST PLAN (STP)

Software test plan (STP), is a document that describes the testing strategy that the test team are going to use to test the application.

Definition

Testing (we can write it when the requirements phase is done) Relevant to Phase?• Test Manager• Technical leader • Qa Manger

Who is responsible to deliver it?

Few Examples: • Describe the type of tests that are performed in the testing cycles.• Describe the test methodologies that the testing team will use.• Describe the test environment and architecture.• Describe the planned\unplanned tests.• Describe the Entry and Exit criteria. • Describe the test priority and risks.• Describe the test timelines. • Describe the testing goals.• Describe the testing tools. • Describe the testing level.• Test resources.

Target

To write the document and use it during the test cycles. Responsibilities of the QA team

Page 12: Test documentation throughout the SDLC | David Tzemach

SOFTWARE TEST DESCRIPTION/DESIGN (STD)Software test Description/Design (STD), is a document that describes (Low-Level) the test scenarios/cases that the test team is going to execute during the test cycles (Each test is based on a relevant Use case).

Definition

Testing (we can write it when the requirements phase is done) Relevant to Phase?• Test Manager• Technical leader • Software Tester

Who is responsible to deliver it?

• Low-Details test scenarios/cases• Test inputs and outputs• Expected results• Test prioritization • Information about how the tests are going to run (Manual Vs

Automation).

Target

• Validate that the STD covers the use cases for the customers.• To write the document and use it during the test cycles• It should be based on the STP/SRS documents.• Validate that the STD covers both the Functional / non-

Functional scenarios.

Responsibilities of the QA team

Page 13: Test documentation throughout the SDLC | David Tzemach

SOFTWARE TEST RESULTS (STR)

Software test results (STR), is a document that summarizes the test results of the testing cycles.

Definition

At the end of the test phase. Relevant to Phase?

• Test Manager• Qa Manger• Project/feature owner

Who is responsible to deliver it?

Few Examples:• The test coverage that was done• Description of the Test results• Known Risks

Target

• To write and present the document• To reflect the real work that was done.

Responsibilities of the QA team

Page 14: Test documentation throughout the SDLC | David Tzemach

REQUIREMENT TRACEABILITY MATRIX (RTM)

The RTM document, is used to trace the application requirements and specification throughout the SDLC.

Definition

Design, Coding and testing phase Relevant to Phase?

• Developers • Quality assurance team

Who is responsible to deliver it?

• To validate that each requirement/specification is covered in a dedicated test case.

• Validate that the software is developed based on the requested requirements.

Target

• Validate that every requirement is covered in a dedicated test case.

• Validate that every feature is represented.• Analyze and provide feedback about the quality of the

doc

Responsibilities of the QA team

Page 15: Test documentation throughout the SDLC | David Tzemach

Subscribe to my blog to get the best software testing tutorials, checklists and Best practices. https://feedburner.google.com/fb/a/mailverify?uri=DavidTzhmach-TechnicalVision

 David TzemachThe author and founder of Dtvisiontech testing blog.