<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Harsha Kolitha Ariyarathna on Medium]]></title>
        <description><![CDATA[Stories by Harsha Kolitha Ariyarathna on Medium]]></description>
        <link>https://medium.com/@harshakolitha4?source=rss-4823f6362fbb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ihj7_Qn-Rfd98iI2zwNBJg.jpeg</url>
            <title>Stories by Harsha Kolitha Ariyarathna on Medium</title>
            <link>https://medium.com/@harshakolitha4?source=rss-4823f6362fbb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 10:13:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@harshakolitha4/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Test Techniques Overview (Part 2)]]></title>
            <link>https://medium.com/@harshakolitha4/test-techniques-overview-part-2-b23cf4ccfbcc?source=rss-4823f6362fbb------2</link>
            <guid isPermaLink="false">https://medium.com/p/b23cf4ccfbcc</guid>
            <category><![CDATA[white-box-testing]]></category>
            <dc:creator><![CDATA[Harsha Kolitha Ariyarathna]]></dc:creator>
            <pubDate>Sat, 12 Jul 2025 17:30:26 GMT</pubDate>
            <atom:updated>2025-07-12T17:41:30.391Z</atom:updated>
            <content:encoded><![CDATA[<h3>White-Box Test Techniques 🤔</h3><p>Because of their popularity and simplicity, this section focuses on two code-related white-box test techniques:</p><p>• Statement testing</p><p>• Branch testing</p><p>📌 Statement Testing</p><p>Statement testing is a technique to derive the minimum number of tests to measure the statements in a fragment of code, whereas Statement Coverage is a metric to measure the coverage achieved by the tests.</p><p>📌 Branch Testing</p><p>Branch testing is a technique to derive the minimum number of tests to measure the Branches in a fragment of code, whereas Branch Coverage is a metric to measure the coverage achieved by the tests.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*1cPqI_qBqHJqjik0-33fjQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b23cf4ccfbcc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Test Techniques Overview (Part 1)]]></title>
            <link>https://medium.com/@harshakolitha4/test-techniques-overview-part-1-182b2a101eb6?source=rss-4823f6362fbb------2</link>
            <guid isPermaLink="false">https://medium.com/p/182b2a101eb6</guid>
            <dc:creator><![CDATA[Harsha Kolitha Ariyarathna]]></dc:creator>
            <pubDate>Sun, 06 Jul 2025 17:19:02 GMT</pubDate>
            <atom:updated>2025-07-06T17:19:02.004Z</atom:updated>
            <content:encoded><![CDATA[<p>Test techniques support the tester in test analysis (what to test) and in test design (how to test). Test techniques help to develop a relatively small but sufficient set of test cases in a systematic way. Test techniques also help the tester to define test conditions, identify coverage items, and identify test data during the test analysis and design.</p><p><em>Basically, test techniques are classified as black-box, white-box, and experience-based.</em></p><p>💡 <strong>Black-box test techniques</strong> (also known as specification-based techniques) are based on an analysis of the specified behavior of the test object without reference to its internal structure. Therefore, the test cases are independent of how the software is implemented. Consequently, if the implementation changes, but the required behavior stays the same, then the test cases are still useful.</p><p>💡 <strong>White-box test techniques</strong> (also known as structure-based techniques) are based on an analysis of the test object’s internal structure and processing. As the test cases are dependent on how the software is designed, they can only be created after the design or implementation of the test object.</p><p>💡 <strong>Experience-based test techniques</strong> effectively use the knowledge and experience of testers for the design and implementation of test cases. The effectiveness of these techniques depends heavily on the tester’s skills. Experience-based test techniques can detect defects that may be missed using the black-box and white-box test techniques. Hence, experience-based test techniques are complementary to the black-box and white-box test techniques.</p><h4>🧩 Black-box testing techniques</h4><p>Commonly used black-box test techniques discussed in the following sections are:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kvQ3On5XqZJoaDDjMHzF1A.png" /></figure><ol><li>Equivalence Partitioning (EP)</li></ol><p>&gt; It divides inputs into ranges (partitions or classes) where all the elements of a particular range are expected to behave the same.</p><p>&gt; As per EP, we take just one test case from each range.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZHBt6kf31IgvWqV7KSJdEQ.png" /></figure><p>2. Boundary Value Analysis. (BVA)</p><p>&gt; BVA test on the boundaries, the defect can lie near the boundaries as well.</p><p>&gt; The values in the valid range are called <em>valid boundary values, </em>and the values in the invalid range are called <em>invalid boundary values.</em></p><p>&gt; Boundary values for <em>2-point analysis</em> are calculated as LB, LB-1, RB, RB+1 where LB and RB are Left and Right boundaries.</p><p>&gt; Boundary values for <em>3-point analysis</em> are calculated as LB, LB-1, LB+1, RB, RB-1, RB+1 where LB and RB are Left and Right boundaries.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KnmkyROcGTGhuzk_DUxYUQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EDMPJAg_60vJlfUcibIBfw.png" /></figure><p>3. Decision Table Testing.</p><p>&gt; A decision table captures the system requirements that contain logical conditions.</p><p>&gt; The specifications are analyzed, and the conditions and actions of the system are identified in tabular form.</p><p>&gt; The input conditions and actions are most often stated in a way that they must be true to false.</p><p>&gt; The number of combinations will be 2^N.</p><p>&gt; Where N = Number of conditions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e89rH6b3M72HnNLwRRsIJg.png" /></figure><p>4. State Transition Testing</p><p>&gt; State Transition testing exhibits the various states of senario/system and only possible transition between them.</p><p>&gt; The representation is called as <em>State Transition Diagram</em> (STD).</p><p>&gt; A STD shows all <em>valied transitions only</em>.</p><p>&gt; A STD consists of pair of transition between 2 states.</p><p>&gt; If the pair is missing between 2 states then the missing transition/s is/are called as <em>Invalied Transition</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-bPBKl_DrPjtbnEwliY3rw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=182b2a101eb6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Test Levels and Test Types]]></title>
            <link>https://medium.com/@harshakolitha4/test-levels-and-test-types-7105c0b554c0?source=rss-4823f6362fbb------2</link>
            <guid isPermaLink="false">https://medium.com/p/7105c0b554c0</guid>
            <dc:creator><![CDATA[Harsha Kolitha Ariyarathna]]></dc:creator>
            <pubDate>Sun, 06 Jul 2025 17:17:56 GMT</pubDate>
            <atom:updated>2025-07-06T17:17:56.226Z</atom:updated>
            <content:encoded><![CDATA[<h4>🧩 Test Levels</h4><p>Test levels are groups of test activities that are organized and managed together.</p><p>Test levels are related to other activities within the SDLC. In sequential SDLC models, the test levels are often defined such that the exit criteria of one level are part of the entry criteria for the next level. In some iterative models, this may not apply. Development activities may span multiple test levels. Test levels overlap in time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6qY_yr2wCol7LY_GnH6poQ.png" /></figure><p>1. <strong>Component testing</strong>: focuses on testing components in isolation. Component testing is normally performed by developers in their development environments.</p><p>2. <strong>Component integration testing</strong>: focuses on testing the interfaces and interactions between components.</p><p>3. <strong>System testing</strong>: focuses on the overall behavior and capabilities of an entire system or product, often including functional testing of end-to-end tasks and the non-functional testing of quality characteristics.</p><p>4. <strong>System integration testing</strong>: focuses on testing the interfaces of the system under test and other systems and external services.</p><p>5. <strong>Acceptance testing</strong>: focuses on validation and on demonstrating readiness for deployment, which means that the system fulfills the user’s business needs. Ideally, acceptance testing should be performed by the intended users.</p><h4><em>💡 </em>Test Types</h4><p>Test types are groups of test activities related to specific quality characteristics, and most of those test activities can be performed at every test level.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7IYJdzKpK6Z9UcN9ZpbycA.png" /></figure><p><strong>1.Functional testing</strong>: evaluates the functions that a component or system should perform. The functions are “what” the test object should do. The main objective of functional testing is checking the functional completeness, functional correctness and functional appropriateness.</p><p><strong>2. Non-functional testing: </strong>evaluates attributes other than functional characteristics of a component or system. Non-functional testing is the testing of “how well the system behaves”. The main objective of non-functional testing is checking the non-functional software quality characteristics.</p><p><strong>3. Black-box testing: </strong>is specification-based and derives tests from documentation external to the test object. The main objective of black-box testing is checking the system’s behavior against its specifications.</p><p><strong>4. White-box testing: </strong>is structure-based and derives tests from the system’s implementation or internal structure. The main objective of white-box testing is to cover the underlying structure by the tests to the acceptable level.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7105c0b554c0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Static Testing Basics]]></title>
            <link>https://medium.com/@harshakolitha4/static-testing-basics-990a499551c7?source=rss-4823f6362fbb------2</link>
            <guid isPermaLink="false">https://medium.com/p/990a499551c7</guid>
            <category><![CDATA[static-testing]]></category>
            <dc:creator><![CDATA[Harsha Kolitha Ariyarathna]]></dc:creator>
            <pubDate>Wed, 02 Jul 2025 04:00:26 GMT</pubDate>
            <atom:updated>2025-07-02T04:00:26.652Z</atom:updated>
            <content:encoded><![CDATA[<p>In contrast to dynamic testing, in static testing, the software under test does not need to be executed.</p><p>Test objectives included improving quality, detecting defects, and assessing characteristics.</p><p><strong>Static testing</strong> can be applied for both <strong><em>verification</em></strong> and <strong><em>validation</em></strong>.</p><p>Review techniques can be applied to ensure user stories are complete and understandable, and include testable acceptance criteria. By asking the right question, testers explore, challenge, and help improve the proposed user stories.</p><p><strong>Static analysis</strong> can identify problems prior to dynamic testing while often requiring less effort, since no test cases are required, and tools are typically used.</p><h4>Work Products Examinable by Static Testing</h4><p>Almost any work product can be examined using static testing. eg, requirement specification, source code…</p><p>Any work product that can be read and understood can be the subject of a review.</p><p>However, for static analysis, work products need a structure against which they can be checked.</p><p>Work products that are not appropriate for static testing include those that are difficult to interpret by human begins and that should not be analyzed by tools.</p><h4>Value of Static Testing</h4><ol><li>Static testing can detect defects in the earliest phases of SDLC, fulfilling the principle of early testing. (It can also identify defects that cannot be detected by dynamic testing)</li><li>Static testing provides the ability to evaluate the quality of and build confidence in work products. By verifying the documented requirements, the stakeholders can also make sure that these requirements describe their actual needs.</li><li>It is recommended to involve a wide variety of stakeholders in static testing.</li><li>Even though reviews can be costly to implement, the overall project costs are usually much lower than when no reviews are performed because less time and effort need to be spent on fixing defects later in the project.</li><li>Code defects can be detected using static analysis more efficiently than dynamic testing, usually resulting in fewer code defects and a lower overall development effort.</li></ol><h4>Differences between Static Testing and Dynamic Testing</h4><ol><li>Static and Dynamic testing can both lead to the detection of defects; however, there are some defects types that can only be found by either static or dynamic testing.</li><li>Static testing finds defects directly, while dynamic testing causes failures from which the associated defects are determined through subsequent analysis.</li><li>Static testing may more easily detect defects that lie on paths through the code that are rarely executed or hard to reach using dynamic testing.</li><li>Static testing can be applied to non-executable work products, while dynamic testing can only be applied to executable work products.</li><li>Static testing can be used to measure quality characteristics that do not depend on executing code, while dynamic testing can be used to measure quality characteristics that depend on executing code.</li></ol><p><em>Typical defects that are easier and/or cheaper to find through static testing include:</em></p><ol><li>Defects in requirements.</li><li>Design defects.</li><li>Incorrect interface specifications.</li><li>Certain types of coding defects.</li><li>Deviations from standards.</li><li>Specific types of security vulnerabilities.</li><li>Gaps or inaccuracies in test basis coverage.</li></ol><h4><strong>Feedback and Review Process</strong></h4><p>Early and frequent feedback allows for the early communication of potential quality problems.</p><p>If there is little stakeholder involvement during SDLC, the product being developed might not meet the stakeholders’ original and current vision.</p><p>Frequent stakeholder feedback throughout the SLDC can prevent misunderstandings about requirements and ensure that changes to requirements are understood and implemented earlier.</p><p>This helps the development team to improve their understanding of what they are building and allows them to focus on it. Those features that deliver the most value to the stakeholders and that have the most positive impact on identified risks.</p><h4>Review and Process Activities</h4><p>The activities in the review process are:</p><ol><li>Planing</li><li>Review initiation</li><li>Individual review</li><li>Communication and analysis</li><li>Fixing and reporting</li></ol><h4>Roles and Responsibilities</h4><ol><li>Manager — Decides what is to be reviewed and provides resources, such as staff and time for the review.</li><li>Author — Creates and fixes the work product under review.</li><li>Moderator (Facilitator) — Ensure the effective running of review meetings, including mediation, time management, and a safe review environment in which everyone can speak freely.</li><li>Scribe (Recorder) — Collates anomalies from reviewers and records review information such as decisions and new anomalies found during the review meeting.</li><li>Reviewer — Performs reviews. A reviewer may be someone working on the project, a subject matter expert, or any other stakeholder.</li><li>Review leader — Takes overall responsibility for the review, such as deciding who will be involved, and organizing when and where the review will take place.</li></ol><h4>Review Types</h4><ol><li>Informal review</li><li>Walkthrough</li><li>Technical review</li><li>Inspection</li></ol><h4>Success Factors for Reviews</h4><p>&gt; Defining clear objectives and measurable exit criteria.</p><p>&gt; Providing feedback from reviews to stakeholders and authors.</p><p>&gt; Providing adequate time to participants to prepare for the review.</p><p>&gt; Support from management for the review process.</p><p>&gt; Providing adequate training for all participants so they know how to fulfil their role.</p><p>&gt; Facilitating meetings.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=990a499551c7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ What is Testing?]]></title>
            <link>https://medium.com/@harshakolitha4/what-is-testing-73871b05d38d?source=rss-4823f6362fbb------2</link>
            <guid isPermaLink="false">https://medium.com/p/73871b05d38d</guid>
            <dc:creator><![CDATA[Harsha Kolitha Ariyarathna]]></dc:creator>
            <pubDate>Mon, 23 Jun 2025 13:10:21 GMT</pubDate>
            <atom:updated>2025-06-23T13:10:21.111Z</atom:updated>
            <content:encoded><![CDATA[<p>· Software testing is a set of activities to discover defects and evaluate the quality of a software artifact.</p><p>· Software testing assesses software quality and helps reduce the risk of software failure in operations.</p><p>🧩 <strong><em>In testing, there are two common misconceptions:</em></strong></p><p>1. Testing consists only of executing tests.</p><p>2. Focus on verifying the test objectives.</p><blockquote>💡 <strong>Testing may be dynamic or static.</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/376/1*AB6c8UYIu9JhHkxnUI_tHw.png" /></figure><h3>📊 <strong>Testing and Debugging</strong></h3><p>Testing can trigger failures that are caused by defects in software (Dynamic testing) or directly find defects in the test object (Static testing).</p><p>When dynamic testing triggers failures, debugging is concerned with finding the causes of the failure(defects), analyzing these causes, and eliminating them. The typical debugging process in this case involves.</p><p>· Reproduction of a failure.</p><p>· Diagnosis (finding the root cause)</p><p>· Fixing the cause.</p><p>When static testing identifies a defect, debugging is concerned with removing it.</p><h3>📈 Testing and Quality Assurance</h3><p><strong>→ QA </strong>is a process—oriented. (Basically, define process)</p><p>· Focus on the implementation and improvement of the process.</p><p>· Applies to both the development and testing process.</p><p><strong>→ QC </strong>is product—oriented. (A person or team of members performs all defined activities by the QA)</p><p>· Those activities supporting the achievement of appropriate levels of quality.</p><p>· Testing is a major form of quality control (QC).</p><h3>🔁 Errors, Defects, Failures, and Root Cause</h3><p>When humans do anything wrong unintentionally, it is called a “Mistake” in programming; it’s an “Error”.</p><p>Human beings make errors (mistakes), which produce defects (faults, bugs), which in turn may result in failures.</p><p>A defect is defined as a deviation between expected and actual results.</p><p>Defects can be found in documentation such as a requirement specification or a test script, in source code, or in supporting artifacts such as a build file.</p><p><strong>Root cause</strong> is a fundamental reason for the occurrence of a problem. This was identified through root cause analysis.</p><h3>📋 Testing Principles</h3><p>1. Testing shows the presence, not the absence, of the defects.</p><p>2. Exhaustive testing is impossible.</p><p>3. Early testing saves time and money.</p><p>4. Defects cluster together.</p><p>5. Tests wear out.</p><p>6. Testing is context-dependent.</p><p>7. Absence of defects fallacy.</p><h3>⚙️ Test Activities and Tasks</h3><p>1. Test planning</p><p>2. Test monitoring and control.</p><p>3. Test analysis.</p><p>4. Test design</p><p>5. Test implementation.</p><p>6. Test execution.</p><p>7. Test completion.</p><h3>🛠️ Test Process in Context</h3><p>Testing is carried out depending on a number of contextual factors, including:</p><p>· Stakeholders.</p><p>· Business domain.</p><p>· Organizational factors.</p><p>· Project constraints.</p><p>· Software development lifecycle</p><p>· Team members.</p><p>· Technical factors.</p><p>· Tools.</p><h3>🔧 Testware</h3><p>Testware is created as output work products from the test activities.</p><p>· Test planning work products. <em>(Test plan, Test schedule, entry and exit criteria, risk register)</em></p><p>· Test monitoring and control work products. <em>(Test progress report, documentation of control directives)</em></p><p>· Test analysis work products. <em>(Test conditions, defect reports regarding defects in the test basis)</em></p><p>· Test design work products. <em>(Test cases, test charters, coverage items, test data requirements, test environment requirements)</em></p><p>· Test implementation work products <em>(Test procedures, automation test scripts, test suites, test data, test execution schedule, test environment, elements)</em></p><p>· Test execution work products. <em>(Test logs, defect reports)</em></p><p>· Test completion of work products. <em>(Test completion report, action items for improvement of subsequent projects or iterations, documented lessons learned, change requests)</em></p><h3>🐞 Roles in Testing</h3><p><strong><em>1. Test Management Role</em></strong></p><p>→ Takes overall responsibility for the test process, test team, and leadership of test activities.</p><p>→ Mainly focus on test planning, test monitoring, control, and test completion.</p><p><strong><em>2. Testing Role</em></strong></p><p>→ Takes overall responsibility for the engineering(technical) aspect of testing.</p><p>→ Mainly focuses on the activities of test analysis, test design, test implementation, and test execution.</p><p>· <em>It is also possible for one person to take on the roles of testing and test management at the same time.</em></p><h3>🧠 Generic Skills required for Testing</h3><p>· Domain knowledge</p><p>· Testing knowledge</p><p>· Technical knowledge</p><p>· Analytical thinking, Critical thinking, Creativity</p><p>· Good communication skills, active listening, and being a team player</p><p>· Thoroughness, carefulness, curiosity, attention to detail, and being methodical.</p><h3>🚀 Whole Team Approach</h3><p>· Any team member with the necessary knowledge and skills can perform any tasks, and everyone is responsible for quality.</p><p>· This improves team dynamics, enhances communication and collaboration within the team, and creates synergy.</p><p>· Depending on the context whole team approach may not always be appropriate.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=73871b05d38d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>