{"id":46416,"date":"2017-02-24T15:30:03","date_gmt":"2017-02-24T10:00:03","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=46416"},"modified":"2017-03-27T13:58:47","modified_gmt":"2017-03-27T08:28:47","slug":"best-practices-for-test-planning","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/best-practices-for-test-planning\/","title":{"rendered":"Best Practices for Test Planning"},"content":{"rendered":"<p style=\"text-align: left\">The first and foremost step\u00a0of testing in\u00a0the testing life cycle is \u201cTest Planning\u201d. \u00a0Test planning helps to set up a roadmap for testing.<\/p>\n<p style=\"text-align: left\"><a title=\"test automation services\" href=\"http:\/\/www.tothenew.com\/testing\/automated-independent-manual-testing\">Testing<\/a> roadmap is planned by an experienced person with 5-8 years of experience as it is one of the key factors in delivering bug-free products.<\/p>\n<p style=\"text-align: left\">After completion of test initialization and finalization of the testing process, test documents are prepared. These documents comprise of\u00a0\u201cwhat to test?\u201d, \u201cwhen to test?\u201d, and \u201cwho to test?\u201d. These documents also define how to test &#8211; eg. <a title=\"automation testing\" href=\"http:\/\/www.tothenew.com\/blog\/the-when-how-of-test-automation\/\">automation testing<\/a>, manual testing, and so on.<\/p>\n<p style=\"text-align: left\">A well-defined test plan answers all of the above questions.<\/p>\n<p style=\"text-align: left\">There are some of the steps\/approaches that are followed while preparing a test plan document:<\/p>\n<ul style=\"text-align: left\">\n<li>Formulating a testing team<\/li>\n<li>Identification of tactical risks<\/li>\n<li>Preparation of test plan<\/li>\n<li>Test plan review<\/li>\n<\/ul>\n<p style=\"text-align: left\"><strong>Formulating a testing team:<\/strong> The first and foremost step of a test plan is team formation. Testing team formation is based on the below factors:<\/p>\n<ul style=\"text-align: left\">\n<li>Availability of test engineers<\/li>\n<li>Test duration<\/li>\n<li>Availability of test environment resources<\/li>\n<\/ul>\n<p style=\"text-align: left\"><strong>Identification of tactical risks:<\/strong>\u00a0In the second step, tactical risks are identified. These risks\u00a0should be identified and discussed in the initial stage of <a title=\"manual testing services\" href=\"http:\/\/www.tothenew.com\/testing\/automated-independent-manual-testing\">testing<\/a>. This risk analysis is also known as Root Cause Analysis. There can be different types of risks involved in testing and outlined below are some of the commonly observed risks:<\/p>\n<ol style=\"text-align: left\">\n<li>Lack of domain knowledge<\/li>\n<li>Lack of budget and time<\/li>\n<li>Lack of resources such as testing tools<\/li>\n<li>Lack of test data due to incomplete documentation<\/li>\n<li>Delay in delivery<\/li>\n<li>Lack of development process<\/li>\n<li>Lack of communication between testing and development team<\/li>\n<\/ol>\n<p style=\"text-align: left\">These are the just handful of risks and there might be many more risks associated which needs to be identified and discussed in the initial testing phase.<\/p>\n<p style=\"text-align: left\"><strong>Preparation of test plan:<\/strong> After formulating the team and analyzing the risks, the third step is to formulate the test plan. Below is the basic format of the test plan:<\/p>\n<ul style=\"text-align: left\">\n<li>Test plan ID: It can be a unique number\/name<\/li>\n<li>Introduction: A brief introduction or summary of the project<\/li>\n<li>Test Items: Names of the modules to be designed in the project<\/li>\n<li>Features to be tested: List of\u00a0features and their functionalities<\/li>\n<li>Feature not to be tested: List of the features that are not part of the scope<\/li>\n<li>Approach: Techniques and approaches that shall be followed during the testing<\/li>\n<li>Suspension Criteria: Decision guidelines about when to suspend\/resume testing<\/li>\n<li>Feature pass\/fail criteria: Criteria for passing or failing a particular module<\/li>\n<li>Test Environment: Hardware and Software required to conduct testing of above modules<\/li>\n<li>Test Deliverables: List of test documents that needs to be maintained or designed (EX: test cases, test procedures, test scripts, test log, defect reports for every module.)<\/li>\n<li>Team Names: List of test engineers involved in the testing of the project<\/li>\n<li>Responsibilities: Work allocation and responsibility mapping<\/li>\n<li>Schedule: It includes all the key dates of the project ( Eg. Start date of development and testing, end date of testing and development, date of delivery).<\/li>\n<li>Risks and Mitigation: List of bugs identified during testing and solutions therein<\/li>\n<li>Approvers: Name and signature of the project manager\/(s) and test lead<\/li>\n<\/ul>\n<p style=\"text-align: left\"><strong>Test plan review:<\/strong>\u00a0After the first draft of the test plan is ready, the test lead reviews\u00a0the test plan to ensure correctness of the test plan and evaluates\u00a0if there is any scope of improvement. In this, they concentrate on the core points which includes:<\/p>\n<ul>\n<li style=\"text-align: left\">Business based requirement coverage (what to test?)<\/li>\n<li style=\"text-align: left\">Scenario\/Requirement based coverage (how to test?)<\/li>\n<li style=\"text-align: left\">Risks based coverage (when and who to test?)<\/li>\n<\/ul>\n<p>After finalizing the test plan, the<a title=\"automation testing services\" href=\"http:\/\/www.tothenew.com\/testing\/automated-independent-manual-testing\"> testing process<\/a> is initialized for execution.<\/p>\n<p style=\"text-align: left\">Apart from all the above points, here are a few more considerations:<\/p>\n<ul style=\"text-align: left\">\n<li>Test Planning must start parallelly with development provided the requirements have been frozen. It is important to know <a title=\"testing in production\" href=\"http:\/\/www.tothenew.com\/blog\/testing-in-production-environment-what-why-and-how\/\">the what, why and how of testing in a\u00a0production environment.<\/a><\/li>\n<li>All the stakeholders including designers, developers, clients, and testers should be involved before finalizing the test plan.<\/li>\n<li>Test planning cannot be chalked out without clear business requirements.<\/li>\n<li>If business requirements evolve, a similar test plan should be applied to new requirements.<\/li>\n<\/ul>\n<p style=\"text-align: left\"><strong>Conclusion:<\/strong>\u00a0Hope you are now able to realize the importance of test planning. Execution of testing can only be successful if the test plan is well-defined. It is the foundation for successful testing and delivery of the bug-free product. It is definite that test execution depends on test cases and test cases are designed based on the test plan. Hence, if the test plan is not done meticulously, there are high chances that test changes might change at a later date thereby impacting the end execution and delivery.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The first and foremost step\u00a0of testing in\u00a0the testing life cycle is \u201cTest Planning\u201d. \u00a0Test planning helps to set up a roadmap for testing. Testing roadmap is planned by an experienced person with 5-8 years of experience as it is one of the key factors in delivering bug-free products. After completion of test initialization and finalization [&hellip;]<\/p>\n","protected":false},"author":1071,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":2},"categories":[1818,1817,1,1816],"tags":[2581,1561,2580,2080,4464,4465,4463,4466],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/46416"}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/1071"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=46416"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/46416\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=46416"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=46416"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=46416"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}