<?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 Katka Pilátová on Medium]]></title>
        <description><![CDATA[Stories by Katka Pilátová on Medium]]></description>
        <link>https://medium.com/@tlacenka?source=rss-8c80887c03d2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*XsXXTDDq0cU_lhSTcoUgNQ.jpeg</url>
            <title>Stories by Katka Pilátová on Medium</title>
            <link>https://medium.com/@tlacenka?source=rss-8c80887c03d2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 20:07:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tlacenka/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[When (not) to automate tests]]></title>
            <link>https://medium.com/@tlacenka/when-not-to-automate-tests-8bc05c314df4?source=rss-8c80887c03d2------2</link>
            <guid isPermaLink="false">https://medium.com/p/8bc05c314df4</guid>
            <category><![CDATA[test-strategy]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[test-automation]]></category>
            <category><![CDATA[quality-assurance]]></category>
            <category><![CDATA[continuous-integration]]></category>
            <dc:creator><![CDATA[Katka Pilátová]]></dc:creator>
            <pubDate>Fri, 27 Dec 2024 14:40:07 GMT</pubDate>
            <atom:updated>2024-12-28T11:15:10.164Z</atom:updated>
            <content:encoded><![CDATA[<p>When a company has strong engineering voices, they push for automation — why go through all the use cases repeatedly when a machine can do it? Once all the scenarios are automated and the automation runs on every pull request, we can release anytime, they think. And in the unlikely scenario that a bug slips through, a new test case will be created to never come across this bug again.</p><p>But in reality, this approach is not as perfect as it sounds. Let us take a look at what happens when the goal is full automation coverage.</p><h3>Quantity over quality</h3><p>By vouching to have all scenarios covered, the company falls into the trap of “the more tests we have the more confident we are that the application works”. And just to make sure that the code coverage stays high, a quality gate enforces, say, 90% code coverage for all pull requests before merging.</p><p>This results in large test suites, sometimes even automatically generated by AI just to meet the mark. Among them one may find the following types of tests, all of which run up to multiple times a day:</p><ul><li>An edge case that was reported a year ago. Based on the policy, it got covered it with a set of tests. Since then, this scenario has not been used in production.</li><li>All the tests that require a custom programmatical solution due to technological limitations of the test framework. No one fully understands what they do. The tests originally took days to implement and are a pain to debug and update.</li><li>Use cases for a minor feature that the users almost never use. But the development team doesn’t know that, so they wrote a large test suite for it.</li></ul><p>Automation is an investment. If we chase high numbers and don’t stop to think what the numbers mean, we are wasting money. While code coverage is useful to point out areas that need tests, above a certain threshold (say 75%), it has diminishing returns. If we cover every single line of code and then change something in our logic, we need to spend time to update all the tests that rely on this line.</p><p>So instead of trying to implement or generate tests to meet an arbitrary threshold, think about the <strong>value</strong> those tests provide. Where do we reuse or integrate this code in our system? What impact would an error in this code have on the end user?</p><h3>Inverted test pyramid</h3><p>There are three main types of functional tests based on scope:</p><ul><li>Unit tests verify a module in isolation, they are fast (milliseconds) and cheap.</li><li>Integration tests verify the connection of multiple units or internal integrity of a bigger unit. They are still relatively fast (hundreds of milliseconds to seconds) and cheap as they mock out irrelevant dependencies.</li><li>End-to-end (E2E) tests verify user scenarios performed on the whole system. They take the longest (seconds to minutes) and are the most expensive, often requiring their own ecosystem of data and infrastructure.</li></ul><p>Typically, we want to have many unit and integration tests and only verify critical happy paths with E2E tests. But when a company hires a dedicated testing team whose sole purpose is to take care of E2E tests, it disturbs the balance.</p><p>Since testers are typically experts on E2E testing, they also look at any problem through the lens of E2E. As a result, E2E becomes the go-to type despite them being so expensive. Edge cases are unnecessarily covered at the E2E level, coverage is unknowingly duplicated between integration and E2E level, numerous processes are established around E2E tests. Pipelines are extremely slow which either significantly slows down pull requests or the tests are moved to a separate pipeline and developers are required to run the E2E tests manually. Meanwhile, unit and integration tests are silently written (or neglected) by developers.</p><p>In this situation, the only solution is to break the silos. That requires someone with good communication skills who has expertise in both low-level tests and E2E. It gets tricky though because no one wants to admit how much money went down the drain so removing tests is almost taboo at this point. But in time, actively questioning the status quo and patiently advocating for a balanced testing strategy may get the company back on the right track.</p><h3>I need to know how many frameworks?!</h3><p>In order to have multi-layer coverage in place, different testing methods need to be used. A typical testing strategy applies a so-called testing pyramid (unit, integration and E2E tests). And when the need arrives, the company may also introduce visual testing, performance testing or other.</p><p>I have bad news for you though, there isn’t a single framework that allows testing all layers on both front end and back end (often written in different programming languages). Furthermore, new frameworks are being introduced to the market all the time while old ones reach their end of life just like any other software.</p><p>So suddenly, both developers and testers are expected to familiarise themselves with multiple testing frameworks in order to be able to implement and maintain both the legacy and new solutions the company has adopted over the years. And when the company jumps on a hype train of a new framework, it often doesn’t consider the costs of double maintenance as well as converting all existing tests to the new framework. Unable to finish the migration with pressure to deliver new features, the initiative is abandoned, leaving legacy tests all over the place.</p><p>Every new technology has a cost. That cost goes up exponentially the more different technologies a company needs to actively maintain — if only one person knows how to write and debug performance tests, for instance, and they leave, what will you do? So before introducing a new concept or implementing your own custom tooling, make sure to consider the onboarding costs and research what it involves in the long run.</p><h3>Simulation versus reality</h3><p>When we talk about automation, we typically mean regression testing — making sure that existing functionality, performance or visual design does not regress when introducing new features or changes.</p><p>But how can we apply this approach to developing new features? We want to make sure that it does everything users want and, equally important, not do what they don’t want, before we release it to the users. However, automation only verifies what is explicitly coded in, it cannot think for itself or adapt. So our only option would be to automate every single of our assumptions and then keep changing the test code as the feature is being finalised. We would waste a lot of time and money doing this. And not only that, we would be missing the point.</p><p>In order to gain insights about a feature from the user perspective before release, we can perform so-called exploratory testing. It is a process of experimenting with a feature and finding new ways it interacts with the system. Humans with sufficient domain knowledge are good at this and thanks to their insights, we can improve user experience before the actual users gain access to it. However, when we only use automation, the end users are the first ones to try out the feature in production. And therefore, they are the ones to discover the bugs obvious to us humans, but not to machines.</p><p>Taking this further, even during regression testing humans cannot help but look around and use common sense:</p><ul><li>If an adjacent element on the page looks weird, we notice.</li><li>If a Submit button in a popup has been reworded to Confirm, we know its purpose remains the same so we click on it.</li><li>If a page takes one more second to load, we get frustrated but ultimately wait or try to refresh the page before giving up.</li></ul><p>But guess what, machines cannot handle these situations. They operate under technological constraints and only look at a fraction of what the user would see. They perform the same flow in the same way over and over, not accounting for any variation. So when a company relies on automated E2E tests and doesn’t manually go through the changes, the overall coverage is limited.</p><p>Like it or not, both human and machine are essential parts of a testing strategy. They complement each other — humans get to do the creative parts (test definition, experimenting) while machines do what they do best, consistently do the same thing over and over (regression tests).</p><h3>Test infrastructure scaling</h3><p>When the expectations are that the automation is supposed to cover everything, the test ecosystem contains not only the tests themselves, but also custom integrations and tooling for test management, reporting, data, and other. Some of the integrations are likely outsourced to 3rd-party tools which aren’t exactly cheap. So when inevitably developers cannot build and maintain this alone, the company usually hires a whole team just to maintain this part of the codebase.</p><p>At the beginning, all existing tests are run in the continuous integration pipelines to gain timely feedback. However, as the company develops more projects and the product expands, the complexity of testing infrastructure significantly increases. All the parts need to be maintained and eventually reach infrastructure limitations. The company may even need to hire a specialised CloudOps team at this point.</p><p>It usually goes like this:</p><ol><li>All tests are triggered on a new pull request, take a few minutes to run.</li><li>As more tests are added, this slows down the CI pipeline. Parallelisation is introduced and the slowest tests (typically E2E) are moved to their own pipeline. Without manual testing at this point, unverified scenarios are merged into the main branch and only retrospectively fixed.</li><li>With more tests, some of them are longer or low-quality so they start to exhibit flakiness. The pipeline needs to be often re-run and retries are added as a hot band-aid. More custom effort or paid tools are introduced to pinpoint the flaky tests.</li><li>Beyond this point, the value of tests becomes questionable. It is common to see failing pipelines and skipped tests to get the release out. Since the company is still chasing full automation coverage and doesn’t know of a better solution, they focus on putting out the daily fires instead of stepping back and rethinking their strategy.</li></ol><p>So what can we do? First off, it is important to realise that like with any code, your test project gathers technical debt overtime — rushed low-quality tests, flaky tests and other. Yes, old tests are technical debt — just because they pass does not mean they provide value (a test with no assertions also technically passes). So make sure to regularly allocate time for audits — update or remove older tests that provide little value, refactor implementation to consistently apply established coding standards. When someone new joins the team, they should see (and replicate) best practices, not half-baked solutions someone hastily put together before a release.</p><p>Secondly, optimise the developer experience when it comes to continuous integration. Tests should be fast, only fail when something that deserves attention is wrong and developers should not be asked to go through too many manual steps. A few tips:</p><ul><li>Generate insightful summaries for your test reports. They can be as simple as combining a test name and an error message. This provides basic context without having to download a full report or manually going through the logs.</li><li>Only run relevant, stable tests, so that engineers don’t waste their time investigating irrelevant or ephemeral failures. Put flaky tests into quarantine.</li><li>Use a graph-based tool to identify parts of your codebase affected by latest changes and limit your pipelines to only run that subset of tests.</li></ul><h3>Conclusion</h3><p>Automated regression testing is not a silver bullet. It is a tool that has its limitations and trade-offs.</p><p>The main value it provides is timely and consistent feedback on regressions, which would be impossible to achieve manually while making frequent contributions to the codebase.</p><p>Nevertheless, it is also a big investment — every new technology, every tooling needs to be used by others and maintained in the long term. Test infrastructure gathers technical debt and reaches infrastructure limits as the product grows. Being mindful of this and only building what is essential for the success of the product helps reduce these costs.</p><p>Don’t make automation the centrepiece of your testing strategy just because it is trendy. The ultimate goal is making sure the product meets users’ needs. To achieve that, choose the best tool for a given job — automation for repeating the regression flows and manual approach for the benefits of human insight.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8bc05c314df4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Don’t expect testers to fix quality]]></title>
            <link>https://medium.com/@tlacenka/dont-hire-testers-to-fix-quality-d27a7f2feaa0?source=rss-8c80887c03d2------2</link>
            <guid isPermaLink="false">https://medium.com/p/d27a7f2feaa0</guid>
            <category><![CDATA[quality-assurance]]></category>
            <category><![CDATA[expectations]]></category>
            <category><![CDATA[bugs]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[testing]]></category>
            <dc:creator><![CDATA[Katka Pilátová]]></dc:creator>
            <pubDate>Thu, 26 Dec 2024 12:29:14 GMT</pubDate>
            <atom:updated>2025-01-10T18:13:33.185Z</atom:updated>
            <content:encoded><![CDATA[<p>Software development companies typically start with no established quality process. When a new feature is pitched, the most important thing on anyone’s minds is to get it to market as soon as possible, often with tight deadlines. Quality is seen as a luxury — high cost, low value. Surely it’s enough to have developers, or at most product managers, checking the end result? With little feedback, managers get overly optimistic and confident that everything is going smoothly despite the time crunch.</p><p>But as users start using the platform, various problems start to occur — errors prevent them from achieving what they need, the application cannot handle the load, … Out of fear of lost revenue, company stakeholders are forced to finally think about quality and consider spending money on it. The go-to solution tends to be to have someone (or something) making sure that the product works as expected. And so the company hires cheap manual or automation testers.</p><h3>Flawed expectations</h3><p>Companies tend to overestimate their knowledge about quality — after all, everyone can imagine something behind quality. So instead of treating a quality professional as a subject matter expert, they give them a few very explicit responsibilities that they believe will fix the situation and put them at the bottom of the company hierarchy.</p><p>Naturally, the results of this are mediocre at best. The tester is essentially hired to fulfil an impossible assignment but they cannot push back because of their limited agency and ignorance of others.</p><p>Let us go through the most common misconceptions about testing.</p><h3>Testers are responsible for fixing bugs</h3><p>When you hire a mechanic to fix your washing machine, you expect them to be fully responsible for the result. If the washing machine breaks next time you use it, you hold the mechanic responsible and request them to come over again, for free. From the management perspective, quality is often seen as one particular problem to be solved, so they hire a tester as an investment and expect them to be fully responsible for “fixing” this problem, so that they can cross it off their list. If a new bug is found, it is their fault for not finding it.</p><p>There are two main problems with this assumption. Firstly, a tester has a very limited understanding of how a system is built, so they cannot be compared to a mechanic whose main value is precisely that knowledge. Testers don’t break the system apart to find a problem — they experiment with the product from the user perspective and observe the application behaviour in various situations.</p><p>But what about automation testers? Even automation testers are not familiar with the system internals because they typically focus on end to end tests which treat the application as a black box — they interact with it (input) and observe the result (output). So when a test fails, it is not obvious to them how to go about fixing that problem.</p><p>Secondly, testers don’t make decisions, they merely inform about the result of their tests. It is up to the manager or product owner to decide how to use that information. Should we drop everything and fix it? Can we go on with a release? Is this even a problem? One needs to see the full picture to make such decisions.</p><p>To sum up, testers cannot be responsible for fixing bugs because they have neither the authority nor the necessary skills to do so.</p><h3>We should aim for zero bugs</h3><p>Next, let us explore the goal of having zero bugs. Quality is subjective — what one finds desirable, another sees as a problem (it <em>bugs</em> them). It is not just tied to functionality either (if a washing machine works fine but takes 10 minutes to start, would you want to use it?). So to achieve zero bugs, one would need to fix everything about the application that someone whose opinion we care about (business owner, end user, tech lead) identifies as a problem. But a company has limited resources and cannot afford to fix every little thing — it is only useful to fix what affects user experience or delivery efficiency, which in turn affects revenue.</p><p>Therefore, our goal is to optimise allocation of our available resources (servers, engineering power, …) to maximise delivered quality in important areas. But we cannot, and <strong>should not</strong>, aim for zero bugs. It is useful to think of tests as an investment. Each test takes time (and therefore money) to implement as well as maintain, so we only want to have tests that give us value (mitigated risk of lost revenue) which exceeds their cost.</p><h3>If we test everything, we know there are no bugs</h3><p>One of the main responsibilities of testers tends to be writing test cases. At the end to end level, a test case describes an entire user flow which gives the impression that a relatively small number of end to end tests alone can fully cover a feature. And so managers fall into the trap of assigning a whole team to design and perform end to end tests with the ultimate goal of covering everything.</p><p>However, testing everything isn’t just undesirable, it is impossible. The only way to achieve it would be by formally identifying and then verifying every single state of our application (a combination of UI, permissions, data, available actions, …).</p><p>To imagine just how many states there are, let us have a scenario for an e-shop payment flow:</p><ol><li>Add a few items into the cart.</li><li>Fill out your details, create an order.</li><li>Pay via an online gateway.</li></ol><p>Surely, 5–10 end to end tests would be enough for this? To cover the critical paths, perhaps, but those tests would not cover all you <strong>can</strong> do along the way, nor the different order in which you could do it. While adding items, you can remove them or change their amount. You can use the e-shop from a desktop, phone or tablet and open it in various browsers. You can also close and reopen your browser or go make a cup of tea at any point. Not to mention the number of valid and invalid values that each field needs to respond to, e.g. there are over a trillion combinations that make up a valid credit card number.</p><p>So no matter how many tests we have, we are always picking a <strong>subset</strong> of possible states and transitions between those states. We can never know for sure that there are no bugs.</p><h3>Passing tests mean there are no bugs</h3><p>Last but not least, there is a tendency to blindly trust in passing tests. If a feature is allegedly covered by tests, we have confidence that, as long as those tests are successful, everything is fine. But now that we know we cannot cover everything, we understand our information is incomplete. On top of that, if our tests focus on unimportant details or have wrong assumptions, we gain false confidence while in reality nothing is guarding us against shipping a critical bug into production.</p><p>Furthermore, the execution itself is limited — while going through the defined scenario, the tester (or test code) only looks at limited number of things. We cannot define everything explicitly (or each test would be an essay, hell to execute and update with changing requirements), so the results are either very narrow (typical for automation) or inconsistent (each tester has a tendency to check different things along the way).</p><p>In reality, a green test without a thought put into designing and maintaining it is more dangerous than no test because in the latter case, we at least know what we are missing. The solution to this is two-fold.</p><ol><li>Testers need to have excellent domain knowledge, intimately know the end users and be present during feature definition. Thanks to that they can make informed decisions to plan out the feature coverage and communicate what exactly it is that we need to cover.</li><li>Tests need to be treated as first-class citizens and should be double-checked. Every skipped test during a release increases risk and should be communicated as such. Every blindly approved pull request with new tests (it is “just” a test, the code will not break anything) potentially introduces unreliable tests of questionable value.</li></ol><h3>Conclusion</h3><p>Most companies don’t know what to do about quality, so when the bugs inevitably catch up with them, they hire testers to fix it for them. They believe that once the application is fully covered by test cases, no bugs will ever appear again. But quality is a much more complicated subject. It is connected to everything — design, development, delivery process, even sales and marketing. Quality isn’t a problem to be fixed, it is a mindset a company needs to adopt.</p><p>As a tester, your job isn’t just to write and execute tests like you are explicitly told, it is to educate your company about quality and find ways to quantify it in their own language. Don’t assume your superior knows what you should be doing and what you need (beyond testing). You need to advocate for yourself and demonstrate how you can provide value in various areas across the company.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d27a7f2feaa0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Validation and verification in software development]]></title>
            <link>https://medium.com/@tlacenka/validation-and-verification-in-software-development-f84f6fca81da?source=rss-8c80887c03d2------2</link>
            <guid isPermaLink="false">https://medium.com/p/f84f6fca81da</guid>
            <category><![CDATA[validation]]></category>
            <category><![CDATA[verification]]></category>
            <category><![CDATA[quality-assurance]]></category>
            <category><![CDATA[product-development]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Katka Pilátová]]></dc:creator>
            <pubDate>Mon, 09 Dec 2024 18:37:48 GMT</pubDate>
            <atom:updated>2024-12-14T18:44:18.394Z</atom:updated>
            <content:encoded><![CDATA[<h2>The combined power of validation and verification</h2><p>Validation and verification greatly contribute to maximising delivered quality, each in their own way.</p><p>Unfortunately, these two terms are often used inconsistently or even interchangeably. Engineering-first companies often default to verification while external distributors tend to only focus on validation to keep their customers.</p><p>In this article, I would like to clarify the difference between the two in the context of software development and show how they complement each other.</p><h3>Verification</h3><h4>Are we building the product right? (i.e. does the “<em>how” </em>match the “what”)</h4><p>Verification is a process aiming to ensure that a system is designed according to its specification — a predefined source of truth. System specification can take many forms, such as written documentation, product design or an issued regulation.</p><p>Examples of verification:</p><ul><li>During manual testing we verify that code functionality matches acceptance criteria.</li><li>During code reviews we verify that our code meets our standards and is compatible with our architecture design.</li><li>E2E tests verify that the application behaves correctly for the defined test scenario.</li><li>A contract between our front end and API verifies that the data transferred between the two conform to a predefined schema.</li></ul><h3>Validation</h3><h4>Are we building the right product? (i.e. is our “what” satisfying the “why”)</h4><p>Validation is a process that aims to ensure that our system meets the needs of our customers. When validating, we are questioning whether what we are building has value, whether we provide good user experience. This process requires a certain level of domain knowledge.</p><p>Examples of validation:</p><ul><li>During exploratory testing we validate whether what we are building is intuitive to use for our intended end users.</li><li>When designing tests, we ask ourselves which scenarios are the most important for the user and how they are usually performed in the real application.</li><li>During refinement, the team members validate the design and acceptance criteria by asking questions about the user needs.</li><li>During API schema review, we validate whether all important data and operations are available to enable our users to achieve what they need.</li></ul><h3>Highlighting the main differences</h3><ul><li>Verification has a form of documentation as a source of truth whereas for validation, our customer is the source of truth.</li><li>During verification process we aim to adhere to a set of instructions while during validation, we are actively considering the end user and asking “Is this what they need? Are we missing something?”.</li><li>During verification we are focusing more on the details and system constraints while during validation, we are assessing whether the user flow as a whole makes sense.</li></ul><h4>What verification without validation looks like</h4><p>If we only use verification when building software, we only worry about meeting a set of defined criteria. We blindly trust that whoever wrote the criteria thought everything through – alas, that is not always the case.</p><p>We essentially work in a bubble that may or may not be compatible with reality. Therefore, we may design and implement a system that is unusable for our intended end users.</p><p>By assuming that our specification is correct and contains all the important information for all people involved, we are running into the following problems:</p><ul><li>Natural language is ambiguous. If the product owner and the developer understand a requirement differently, it will only come out during customer acceptance testing.</li><li>No matter how much time we spend on planning, it is impossible to capture all requirements about every single aspect of the system. Therefore, we always need to fill in the gaps to some extent. Without the knowledge of the domain, we make inaccurate assumptions that result in unusable software.</li><li>The market and needs change with time. If we go solely based on what has been written down in the past (often months or years before), we may be developing an outdated solution.</li></ul><h4>What validation without verification looks like</h4><p>Without verification, our only baseline is the, often non-technical, description of needs communicated by the customer. Theoretically, any possible solution to the customer&#39;s problem is correct as long as they formally accept it.</p><p>In practice, especially if we are delivering a product to an external client with whom we wish to keep a good professional relationship, this gives them the opportunity to frequently change their mind or complain that the result is not what they wanted. And since there is no binding contract, the team ends up developing unused features or having to dedicate their own resources on matching the updated description of customer&#39;s vision.</p><p>Additionally, since we don’t have a formal set of standards and schemas for the system, our development team may well end up implementing an internally incompatible solution. Since there is little consistency or documentation for the technical solution, the product maintenance is very costly.</p><h3>Keeping the balance</h3><p>In order to deliver and maintain a successful product, the company needs to understand the purpose (and differences between) validation and verification. A quality professional can help educate the company in how each role participates in these processes.</p><p>On one hand, the whole team needs to understand the customer’s vision and always keep the end user in mind. With a unified understanding of the end users the team can determine the value each feature brings and can identify potential risks (regarding functionality, security, performance…). It also allows the team to have open discussions about the solution, ask targeted questions and consider possible future requirements.</p><p>On the other hand, there still needs to be a clear set of standards to ensure internal consistency of the technical solution. The team needs to create a binding definition of done to enforce clear acceptance criteria. And if the customer isn’t willing to accept a solution despite us meeting acceptance criteria or if a working solution isn’t compatible with our coding style, they know which source of truth to point to in order to resolve the debate.</p><h3>Conclusion</h3><p>The common denominators are a common understanding of the user, communication and consistency.</p><p>The customer is responsible for explaining the vision and setting explicit expectations for the solution. It is the product owner’s job to collaborate with designers and translate their non-technical needs into a functional solution design.</p><p>The development team needs to be able to translate non-technical requirements to a technical specification and explain technical constraints back to the client. At the beginning of a project, a team lead or solution architect are responsible for setting standards based on the product domain and the customer’s vision.</p><p>It should be everyone’s responsibility to focus both on meeting these technical standards while keeping the user in mind. In reality, however, having everyone responsible for something often means that no one is. Therefore, it helps having a quality professional on the team to introduce and help the team adopt both of these concepts, to remind them of the big picture. At the end of the day, it is in everyone’s interest that the end result not only works but that it is both usable and maintainable.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f84f6fca81da" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding the coverage metric]]></title>
            <link>https://medium.com/@tlacenka/looking-at-the-difference-between-test-coverage-and-code-coverage-77b7099d9a54?source=rss-8c80887c03d2------2</link>
            <guid isPermaLink="false">https://medium.com/p/77b7099d9a54</guid>
            <category><![CDATA[test-coverage]]></category>
            <category><![CDATA[code-coverage]]></category>
            <category><![CDATA[quality]]></category>
            <category><![CDATA[metrics]]></category>
            <category><![CDATA[testing]]></category>
            <dc:creator><![CDATA[Katka Pilátová]]></dc:creator>
            <pubDate>Tue, 09 Jul 2024 19:20:30 GMT</pubDate>
            <atom:updated>2024-07-10T00:16:47.961Z</atom:updated>
            <content:encoded><![CDATA[<p>Coverage is one of the most frequently used metrics for quality in software development. There is, however, a common misconception regarding what coverage is in the first place. In this article, we will take a look at different types of coverage and how they can be used to improve quality on your project.</p><p>First of all, we need to establish one thing —<strong> test coverage is not the same thing as code coverage</strong>.</p><h3>What is test coverage</h3><p>Test coverage is a metric that tells us <strong>how much of the business criteria is covered by tests</strong> — be it automated or manual. The idea is to know which user scenarios have been checked and therefore work as expected. By reaching a high coverage percentage, we would then be confident that the system works the way it is supposed to.</p><h4>Measuring test coverage</h4><p>However, it is currently very hard to quantify (let alone track) test coverage over a period of time. Why? Because business criteria are very hard to map to their implementation. While implementation is written in a programming language that is exact, business requirements are defined in a natural language which is vague and subjective. A given requirement can be interpreted in various ways, often causing delays and reworks in the delivery process.</p><p>And even if we could achieve that by making a snapshot of the system specification at a given moment, we meet another problem — business criteria often changes. In the increasingly agile software environment, requirements change for a multitude of reasons — changes in anticipated behaviour of the target users, technical limitations, subjective stakeholder preferences and other. So one would then have to go through the codebase and the new requirements again to map each system specification to the updated model of the system, often multiple times a day.</p><h4>Math to the rescue… sort of</h4><p>In order to efficiently measure test coverage, one would need to create a formal model of the system and then implement a mathematical way of verifying its specification. Each change to the system would then need to be encoded in the same way.</p><p>The field concerned with this problem is called <a href="https://en.wikipedia.org/wiki/Formal_verification">formal verification</a> and as it stands, it can do so in a limited way and only on systems created in low-level programming languages such as C. But for the intents and purposes of a regular company that is likely to use a higher-level language like Python or JavaScript and implement increasingly complex applications, it is not efficient or even feasible to calculate test coverage.</p><h3>What is code coverage</h3><p>What is often meant by test coverage is actually code coverage. Code coverage is a metric that states <strong>how much of the application code has been run during an execution of any test</strong>. Luckily, this metric can be quantified and measured over a period of time. All we need is a set of automated tests which trigger a process that tracks all the units of code (usually lines, branches or functions) in our system that are hit at least once during a test run and then get a report.</p><h4>Types of code coverage</h4><p>There are three main types of code coverage (a more detailed definition of various types of code coverage can be found at <a href="https://www.softwaretestinghelp.com/code-coverage-tutorial/">softwaretestinghelp.com</a>).</p><ul><li><strong>Line coverage</strong>: Measures which lines of code in your application have been executed at least once by any of the tests.</li><li><strong>Branch coverage</strong>: Measures how many logical branches in your code have been taken at least once by a test. A typical example of a branch is if/ else.</li><li><strong>Function coverage</strong>: Measures how many functions defined in your code have been called at least once by a test. Please note that this does not take the value of the arguments with which a function was called into consideration — the only thing code coverage cares about is if it was called at all.</li></ul><h3>Why code coverage cannot replace test coverage</h3><p>When introducing code coverage, the expectations often are that it is a quantifiable metric that tells you how much of your application works correctly. The management closely watches the coverage report numbers, the development team spends a high amount of time writing tests for all the edge cases. If we run 100% of the application code, it means we tested everything, right?</p><p>Not so fast. Let us compare the two coverage definitions side by side:</p><ul><li>Code coverage measures how much of the <strong>code</strong> has been run <strong>during an execution</strong> of any test.</li><li>Test coverage measures how much of the <strong>business criteria</strong> is <strong>verified by tests</strong>.</li></ul><p>What does this mean? Just because a test triggers the execution of a high portion of your code, it does not mean that the code is verified in any way. What is more, it also does not indicate whether the code is correctly verified against business criteria.</p><p>Let us illustrate the scenario on a simple program.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3tA4G_CFivEWHcVEq4LtPw.png" /><figcaption>Program that prints a greeting and a sum of two numbers</figcaption></figure><p>Now let us implement a test that contains no assertions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qu7U-7cSCu7zhdcQvsJC_g.png" /><figcaption>Test that calls the main function</figcaption></figure><p>What is the coverage?</p><ul><li>Code coverage: The test covers both the main and the add function, reporting a 100% function coverage.</li><li>Test coverage: The test contains no assertions. Literally nothing is checked here. Therefore, the<strong> test coverage is 0%</strong>.</li></ul><p>Let us implement one more test, this time with an assertion.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IGzNtqOd4c5EmFX7ugPamg.png" /><figcaption>Test that calls the main function and sums up two numbers</figcaption></figure><p>Has the coverage changed?</p><ul><li>Code coverage: The test still runs both the main and the add function, so the function coverage stays at 100%.</li><li>Test coverage: While we added an assertion on adding two numbers, the <strong>test coverage remains 0% </strong>because we still did not check any of the implemented logic.</li></ul><h3>Is code coverage useful at all?</h3><p>Well yes, it is! Code coverage is a wonderful tool used when used by developers and QA engineers that know its limitations. It can be a helpful indicator of dead code and unnecessary complexity:</p><ul><li>Line coverage report gives a basic overview of all the code execution. Seeing which lines of code you are missing in your tests (and knowing which lines are the most essential to the functionality) can help you find bugs in your implementation or gaps in code coverage.</li><li>In branch coverage report, you may find out that you essentially have conditions in your code that are never met, resulting in dead code. You can then decide whether the conditions need to be fixed or if they introduce unnecessary complexity in your control flow.</li><li>Function coverage helps you find functions that are good candidates for unit and integration tests.</li></ul><h3>Chasing 100% code coverage</h3><p>With a quantified progress measurement, it can be tempting to reach that perfect score. However, chasing perfect code coverage has diminishing returns — once the application reaches around 80% coverage, increasingly more effort is required to make that number go up (the more tests are implemented, the more tests need to be maintained and updated with changed requirements). Not to mention that while the development team is trying to make the number go up by covering all the edge cases, the main functionality might end up having no coverage — the tool does not know if your code is covered intentionally or accidentally, or which part of your code is the most important.</p><p>It is also important to note that code coverage is to be primarily used when unit testing and integration testing where we want to test all (or most) possible scenarios. End-to-end tests run the whole system which makes the baseline coverage already quite high. Additionally, E2E tests aim to test only the critical paths through the system — their goal is not to cover everything but to cover the most important user scenarios.</p><h3>Conclusion</h3><p>When introducing a new metric, always make sure it helps you gain valuable insights about your code. More does not necessarily mean better. Additionally, help your company understand the purpose of the metric as well as its limitations to prevent unrealistic expectations.</p><p>Both test coverage and code coverage have their place. Maintaining a documentation of your test coverage can give you an overview of which functionality is covered by tests. Including code coverage report when running your test automation can help you discover dead code or gaps in your automation.</p><p>But at the end of the day, it is important to remember that the code of your application still needs to be reviewed by your colleagues that can help you determine which parts of the code are worth covering.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=77b7099d9a54" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The importance of reviews]]></title>
            <link>https://medium.com/@tlacenka/the-importance-of-reviews-d99c5e6dbfab?source=rss-8c80887c03d2------2</link>
            <guid isPermaLink="false">https://medium.com/p/d99c5e6dbfab</guid>
            <category><![CDATA[quality-control]]></category>
            <category><![CDATA[pull-request-reviews]]></category>
            <category><![CDATA[continuous-improvement]]></category>
            <category><![CDATA[pull-request]]></category>
            <category><![CDATA[review]]></category>
            <dc:creator><![CDATA[Katka Pilátová]]></dc:creator>
            <pubDate>Sun, 30 Jun 2024 18:35:24 GMT</pubDate>
            <atom:updated>2024-07-01T17:37:46.986Z</atom:updated>
            <content:encoded><![CDATA[<p>Pull request (or merge request) reviews are often seen as a bottleneck that slows the team down before a release. And so, development teams came up with different ways of cutting corners when it comes to this quality control process.</p><h3>Let’s ship it!</h3><p>In many companies, this bottleneck is solved, as an unwritten rule, by simply providing an <em>Approve</em> when the team is short on time. The consequence of that is having an unverified piece of code in the codebase. “The automation would surely reveal a major problem”, the development team assures themselves. But that is a lie — no amount of automation is capable of verifying that your code meets the business criteria and its structure is sound. Automation is used to uncover the more obvious issues with the programming language practices and with the coding style. For the deeper introspection, human attention is needed.</p><p>Other teams provide quick, and therefore rather shallow, reviews. The reviewer looks at the coding style, the naming — exactly those things that can be automated and therefore one should not spend too much of their attention on. It is because they cannot afford spending time trying to understand what the code does, they think. The code changes are too long, or too complex, and they need to review three more pull requests by the end of this afternoon because the product manager is expecting the team to release by the end of today. And so the review only uncovers what a linter or a formatter would, but leaves deeper problems in.</p><p>Another shortcut tends to be that only one review iteration and a promise to fix the remaining feedback is given. Any subsequent changes keep the <em>Approve</em> flag from the reviewer et voilà, pull request merged after additional 10 unreviewed commits. You have already seen the pull request once and gave feedback on what needed to be fixed so it’s fine to leave it approved, right? Incorrect. Each review iteration should look at the code anew, account for all the additional changes — the end result needs to make sense as a whole. It is as if with each iteration, you opened a new pull request with changes fixing a reported bug — except here the bug was fortunately reported even before the changes were released.</p><p>Most of these shortcuts are rationalised in the same way. “I can trust my teammates that they are good at their job and address the important feedback, right?” But this is missing the point. Reviews are not in place because you don’t trust your team (if so, you have a much bigger issue to work through) but because humans are not perfect. Your teammate might have forgotten to address an important part of your feedback. Or they might have accidentally introduced a new bug. Not because they are untrustworthy or malicious, but simply because they are human. That is why reviews exist in the first place — if we were perfect, there would be no need for reviews or tests.</p><h3>Unhealthy review culture</h3><p>With little to no actual reviews, the development team has no opportunity to learn how to give and receive feedback which results in overestimating their own abilities. “Surely the fact that I received an approve means that my code is perfect, I don’t have anything more to improve.“ The newly gained confidence can become arrogance and toxic relationship and badmouthing other people’s code instead of helping them becomes the norm. The skill gap between people widens as only those inherently interested in learning are now improving.</p><p>The product quality naturally suffers as well. The company might try to solve this by adding manual or automated tests and additional quality tooling on the project but that only treats the symptoms, not the cause. The core of the technical solution is rotting and with every change to the codebase, technical debt is increasing.</p><p>At the end, everyone ends up unhappy. The development team is unhappy because they need to work on the crappy codebase every day. The management is unhappy because more and more bugs are being reported for new and existing features alike. The stakeholders are unhappy because the users inevitably lose their patience with the slow, buggy product and therefore the product revenue is decreasing.</p><h3>Mindset shift</h3><p>So what now, is the company just doomed? No, but the solution requires hard work — what the company needs is a shift in the developers’ mindset. It can start by having just one person (ideally one in a senior position) demonstrate how a good code review should look and the company can start adopting a healthy review culture. Let us explore what that would look like.</p><p>Just like a manager is trying to take care of the project and its stakeholders, it is your job is to take care of the codebase and of your own skills. And reviews are a great tool that can help the whole team improve and share their insights with each other. So instead of considering the reviews a chore and dreading how many comments you are going to get, welcome them. After all, it means someone else is giving you attention. The reviewer is trying to help the product (and as an extension you) be the best it can be.</p><p>By giving respect to the other’s effort, you are bound to improve as a team and promote healthy collaboration. The interaction is no longer about what the author did wrong but what can be improved about the code itself. A useful way to think about this is that you should address the code in your comments (e.g. “the function does not work for empty input”), not the person who wrote it (e.g. “you forgot to handle a case with an empty input”). They don’t feel the need to defend themselves which allows you to have a dispassionate conversation about the issue.</p><p>A part of a healthy review culture is also not being afraid to ask about an unclear piece of code. There are three possible outcomes, all of which are beneficial.</p><ol><li>The author explains what the code does and why. You agree that it is a good approach and learn something new.</li><li>The author explains what is going on but you are not convinced it is the best approach. You have an interesting debate about different methods of solving the problem and both sides can learn something new.</li><li>The author clarifies what is going on and realises the code is not as readable as they thought. They make the code cleaner and therefore avoid a future where no one remembers what the code was originally meant for, making its maintenance unnecessarily difficult.</li></ol><h3>Reviews in face of deadlines</h3><p>In an ideal scenario, you can spend as much time as you want on the review process. But how can you implement a healthy review culture in a fast-paced delivery process with ambitious deadlines? Here are a few tips to help you make your review process more efficient for both the pull request author and the reviewer.</p><p>Developers usually notice the obvious issues first and focus on the whole feature design and its implications second. But by the time they give feedback on all the details they realise there are already too many comments and they are out of time. That is where automated static analysis (linters, formatters and other tools) can help your team make sure you have a unified coding style and follow the programming language best practices without having to focus on these details yourself. You can then focus your attention on the code meeting the business criteria, check if the code architecture is sound and consistent throughout the application and investigate the implications of the implemented changes for the rest of the system.</p><p>As a pull request author, you can help speed things up by doing a self-review. That means that before asking others to review your work, you go through the pull request yourself — you check the code, run the changes one last time. By doing so, you can fix some of the things even before involving anyone else.</p><p>Pull request descriptions and comments are also a great way of making the review process more efficient. Linking relevant tickets, describing the changes as well as pointing out your motivation to implement additional changes help the reviewers get the context they need to understand the changes better and give you on-point feedback.</p><p>For a reviewer, the main thing that can help optimise the review process is to prioritise your feedback. By explicitly stating what is a blocker and what is a mere suggestion or just a nitpick, the pull request author knows how to divide their time for addressing the feedback and what to focus on first.</p><h3>Conclusion</h3><p>In a healthy review culture, you have a continuous feedback loop built into your main workflow for free. You are also learning about different ways of solving problems by reading other people’s code. You are able to stay on top of what is being added to the application by being involved in the review process of the changes. You are improving both your hard skills and your soft skills (giving and receiving feedback). To sum it up, you are building a healthy culture that promotes collaboration and continuous improvement. And all of that happens naturally in your work hours so you are not reliant on any education budget.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d99c5e6dbfab" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to write high-quality test code]]></title>
            <link>https://medium.com/@tlacenka/how-to-write-high-quality-test-code-d34ec4a749ef?source=rss-8c80887c03d2------2</link>
            <guid isPermaLink="false">https://medium.com/p/d34ec4a749ef</guid>
            <category><![CDATA[code-quality]]></category>
            <category><![CDATA[test-automation]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[quality]]></category>
            <category><![CDATA[qa]]></category>
            <dc:creator><![CDATA[Katka Pilátová]]></dc:creator>
            <pubDate>Fri, 28 Jun 2024 13:35:41 GMT</pubDate>
            <atom:updated>2024-06-28T19:11:09.868Z</atom:updated>
            <content:encoded><![CDATA[<p>When delivering an application, two main types of code are distinguished within a codebase. Production code is the part of the codebase that implements the application logic. Note that it does not include utilities or scripts that merely help orchestrate or run tooling on the codebase. Test code is the part of the codebase that is concerned with automated tests.</p><p>While there are a lot of guides on how to write good production code, test code is usually not given the same amount of love. The tendency then is to write test code with the same attitude as production code which usually leads to maintenance issues as the two approaches are not fully compatible. Tests become unpredictable, hard to read and no one wants to spend their time investigating what is going on.</p><p>In this article I will focus on good practices when it comes to writing test code, highlighting similarities and differences from production code as well as how they complement each other.</p><h3>Principles applicable to production code</h3><p>The production code and test code often complement each other. Let us take a look at the main areas in which your tests can provide clarity and insights into the health of your production code.</p><h4>Serving the business requirements</h4><p>If one considers the business requirements a mere guideline, it can result in an overengineered, hard to maintain code that focuses on elegance and promotes opinions held by an individual developer. Such an application then consists of multiple, often inconsistent, coding styles and maintenance hell ensues. The bottom line is that both tests and production code are implemented to <strong>serve business requirements</strong>.</p><p><strong>What this means in reality</strong></p><ul><li>Tests make sure that the <strong>business scenarios are covered</strong> by the implementation, not that the implementation is working.</li><li>When implementing a new test, think about how it is already done elsewhere to keep things <strong>consistent</strong>. At the beginning of a project, establish coding style guidelines for tests. Use linters and other static analysis tools with rules optimised for test files.</li><li><strong>Test descriptions are utilised</strong> to document the functionality. By writing test descriptions as use cases (e.g. <em>“highlight error in the form when entered telephone number contains letters”</em>) and not as implementation states (e.g. <em>“emit error to form for invalid input”</em>), even a non-technical person can understand what is covered by tests.</li><li><strong>Return of investment</strong> is always considered. Most time should be dedicated to implementing critical business scenarios. The effort of implementing and testing edge cases should be valued against its complexity and payoff.</li></ul><h4>Test scope</h4><p>The bigger the scope of a functionality or a test, the more attention it requires later on when changes are made to any part of the system it relies on. The principle to follow here is <a href="https://en.wikipedia.org/wiki/Separation_of_concerns"><strong>separation of concerns</strong></a> — extracting functionality to separate functions or modules and providing them only with information they need. When trying to introduce test automation on a project with minimal separation of concerns, the tests are bound to be bloated. Mind you, the tests are not at fault here. The only solution to this is refactoring the production code.</p><p>Another way of looking at this is related to the different types of functional tests. Unit tests have the smallest scope, knowing only about a single unit of code while E2E tests know about the whole system. The idea is to have many unit tests and integration tests and to limit the number of E2E tests — resulting in the traditional <a href="https://circleci.com/blog/testing-pyramid/">test pyramid</a>.</p><p><strong>How to minimise test scope</strong></p><ul><li>Focus on <strong>the one use case</strong> the test is concerned with. Which information does the test need to know and what interactions can be mocked in order for the test to retain its value?</li><li>Create tailored, <strong>minimal mocks</strong> for low-level tests. If a property is not utilised in a test case, leave it empty. Also, minimise sharing mocks across unit tests to keep the test code as specific (and therefore readable) as possible.</li><li>When covering a functionality, prioritise writing unit tests. When testing a specific use case, the test should live <strong>closest to the core implementation</strong> and mock the rest of the system. This also promotes the <a href="https://en.wikipedia.org/wiki/Single-responsibility_principle">single responsibility principle</a> — when a functionality cannot be unit tested, it is usually a good indicator that it is doing more than one thing and therefore that the functionality should be extracted.</li></ul><p><strong>Example</strong></p><p>Let us have a new functionality to cover with tests, e.g. Adding a new phone number to a table via a submit form.</p><p>Unit test example: isValidPhoneNumber validator function returns true for valid phone numbers and false for invalid inputs.</p><p>Integration test example: On creation API request, the new phone number is successfully stored in the database.</p><p>Main UI component tests:</p><ul><li>The Submit button is enabled when I fill in a valid phone number.</li><li>The phone number field turns red when an invalid value is entered.</li></ul><p>E2E test:</p><ol><li>I click on an “Add button”.</li><li>I fill in a new phone number.</li><li>I click on submit.</li><li>I see the new phone number in a table.</li></ol><p><strong>Takeaway</strong></p><p>Unit tests are fast to write, execute and maintain. E2E test, on the hand, are slower and more expensive to maintain. When covering a functionality with tests, cover what you can with unit tests (e.g. validity of the telephone number) and include only a happy path in the E2E test.</p><h4>Test design</h4><p>Similarly to production code, the <strong>main costs come with maintenance</strong>. This is especially true for tests — you write regression tests for existing functionality once and the rest of their life cycle and value is determined by how often they are run, how much effort it takes to apply changes to them and how many issues they help uncover.</p><p><strong>What to focus on</strong></p><ul><li>Take your time with <strong>naming</strong>. All entities (variables, mocks and other) should reveal their purpose or even type of values without having to click on their reference.</li><li>Tests are likely to be read and maintained months or years from now by people other than you. It should be clear what is tested and how, so make your test code as easily understandable as possible. Now, this doesn’t mean covering every line with a comment — a well-written piece code is <strong>readable</strong> without comments.</li><li>Make sure your tests <strong>pass or fail</strong> depending on meeting business criteria. Before adding a test to a test suite, try changing it or breaking it on purpose to see how it behaves in different situations. If a test stays green but doesn’t check anything, it has zero value.</li><li>Don’t fall into <strong>the trap of “green means good”</strong>. Try as you might, future changes to the production code might change the meaning of your test and its pass/failure conditions. Go through existing tests and aside from just checking if they pass, look at the test descriptions and mocks of affected functionalities to check if anything needs to be adapted.</li></ul><h4>Test setup</h4><p>In order for the information to be accessible for the team, the setup of test code along with its utilities, integrations and mocks needs to be located in a <strong>predictable place</strong> and <strong>documented</strong>.</p><p><strong>What this means in reality</strong></p><ul><li>Different test suites (unit tests, integration tests and other) are explicitly <strong>distinguished</strong> and executable by separate commands.</li><li>A basic guide on <strong>how to run tests</strong> is included in the main README of your project.</li><li>Reusable utilities, such as framework configuration or mocking procedures, are <strong>extracted to a separate module</strong> and imported by tests where needed. This module has its own README.</li><li>When facing a problem that can be solved by integrating a well-supported tool or a library, opting for that tool instead of implementing (and therefore having to maintain) your own solution is usually for the best. <strong>Don’t reinvent the wheel</strong>.</li><li>The whole <a href="https://en.wikipedia.org/wiki/Test_strategy"><strong>testing strategy</strong></a> as well as <a href="https://en.wikipedia.org/wiki/Test_plan"><strong>test plans</strong></a> for individual features are described in separate documents or, in case of test plans, sometimes directly in tickets.</li></ul><h4>Test architecture</h4><p>Just like the users would not want to use an unreliable and slow application, the development team will not want to run and maintain slow and flaky tests.</p><p><strong>What to focus on</strong></p><ul><li>The tests will be run in different environments (locally, in the CI, on various operation systems, …). Ensuring <strong>predictable test behaviour</strong> based on supported environments is crucial to get the stable test results.</li><li>In an application, the user can perform actions in any available order. Similarly, <strong>the order of test execution shouldn’t matter</strong>. Tests need to start and end with a clean slate. Any additional logic is set up and cleaned up inside setup and teardown hooks, additional test outputs are located in a predictable location. So no matter whether a test succeeds or fails, the changes and artifacts created by a test don’t affect any tests executed afterwards.</li><li>As the application grows, so will the number of tests. In order for them not to become a bottleneck in the pipelines, <strong>parallelism</strong> needs to be introduced even within the same test suite. This further emphasises the importance of being able to run tests in any order (see above).</li><li>It is sometimes tempting to alter production code behaviour to account for the tests’ needs or to change the production code behaviour from within the tests. Neither is a good idea. <strong>Production code and test code shouldn’t know about each other.</strong> Instead, write production code with tests in mind to make the code inherently testable. And inside the tests, use techniques like mocking or spying to simulate or investigate behaviour, but never to directly alter it.</li></ul><h3>Special treatment of test code</h3><p>But wait, didn’t we cover everything already? No, we are just getting to the best, and often the most misunderstood, test design principle.</p><h4>Simplicity</h4><p>We have already covered that well-written test code is readable, maintainable and is concerned with minimal dependencies. One part where test code differs from production is that it also needs to be <strong>straightforward</strong> and therefore easy to understand. While production code needs to handle all possible states of the application, each of your tests only needs to handle exactly <strong>one case</strong> — the one it is checking.</p><p>When it comes to tests, the most time is spent not by writing them but by <strong>reading</strong> them. Anytime a test is failing or when the functionality changes, someone looks at the test code to figure out what is going on. So we want to reduce the time to understand what a test does and how as much as possible — this is called the <a href="https://stackoverflow.com/questions/6453235/what-does-damp-not-dry-mean-when-talking-about-unit-tests"><strong>DAMP principle</strong></a>.</p><p><strong>What this means in reality</strong></p><ul><li><strong>It is okay to repeat yourself</strong> in tests. Contrary to production code where you want to extract repeated functionality to a separate module (the so-called <a href="https://en.wikipedia.org/wiki/Don%27t_repeat_yourself"><strong>DRY principle</strong></a>), tests do not benefit from this. Extracting reused logic means having to understand it and search for it, i.e. spending additional time to investigate what a test does. Therefore, tests prioritise DAMP over DRY.</li><li>A part of repeating yourself also means <strong>hardcoding values</strong>, primarily in unit tests. Using explicit values makes it infinitely easier to see which value is being asserted. If, on the other hand, the value is abstracted to a variable (or worse, transformed somehow), the time to understand what is going on goes up.</li><li>Using <strong>realistic</strong> values in tests. While it might save you a few minutes to call your values something generic like dummy-1, it will will definitely not help the person trying to figure out what that value represents and in which context it is used. Even worse, imagine the value is reused within the same mock multiple times and you are trying to investigate why a test failed when all you have to go on is an error message that mentions a dummy-1. Choose values that are likely to be used in the real application.</li><li>Tests only look at one specific use case which is known from the beginning. This means they should have a <strong>linear control flow</strong>. Implementing branching logic (conditionals) effectively introduces dead code into your tests as only one branch is executed during a test run. It also obscures which part of the test code is executed and therefore which use case is being tested.</li><li>When testing multiple values at once, it is tempting to add a loop to your test. This is usually not a good idea as it is <strong>no longer clear how many times a loop is executed</strong> (or what if the array is empty? will there be any assertions?). If there is no way to avoid using a loop, then at least verify the expected number of assertions.</li></ul><p><strong>Example</strong></p><p>Let us consider a function which creates a greeting for a user based on their name and surname (if provided).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hM5lhnVWRr3GuDZLvG1JDQ.png" /><figcaption>Function implementation</figcaption></figure><p>Now let us take a look at two different implementations of the same test suite.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0d0EG_CaD8Kr0NoYkN-VrQ.png" /><figcaption>Generic implementation covering both use cases</figcaption></figure><p>As you can see, the first test suite implementation contains unnecessary logic:</p><ul><li>The mock is extracted to a variable and moved to a separate file despite being quite small and only used in this test.</li><li>The test then references the values by accessing the mock properties. Can you tell without looking at the mock what value the test expects?</li><li>The test has a very general implementation that merges two use cases. It tries to account for both possible value combinations (surname provided or omitted). But the test only executes the if or the else branch. Can you tell which one without looking at the mock value?</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jEilvy-7eN1Tm3MnAoaeuQ.png" /><figcaption>Simple tests focusing on one use case at a time</figcaption></figure><p>The second implementation improves upon the first:</p><ul><li>The mock is directly provided to the test and compared to an explicit value. Anyone can tell at the first glance what is going on.</li><li>There are now two tests, each concerned with only one use case. Each test has only one line and only calls the tested function.</li></ul><p><strong>Takeaway</strong></p><p>When writing tests in the simplest way possible, they are shorter and easier to understand. By avoiding conditions and abstractions, you are forced to focus on the single use case that is being tested.</p><h3>Bottom line</h3><p>Test and production code complement each other in many ways. Your tests can indicate to you that the structure of your production code needs to be looked at. They can help you remember what functionality that was implemented a year ago does.</p><p>However, test code also has its own challenges. Unlike production code, test code is only written once and most of its life cycle is spent by reading it and debugging it, often by those who did not implement the functionality that is being tested. Therefore, the main metric is the time spent reading and understanding what a test does and how.</p><p>To minimise that time, <strong>keep your tests simple</strong> and only implement tests that provide enough value for the effort. By keeping your test flow linear, you will be able to read your tests from top to bottom and understand what they do without looking around. The test description will tell you what is tested and the explicit test flow will tell you how it is tested. Relevant information will be easily accessible, irrelevant dependencies and values will not distract you. To sum it up, if you<strong> avoid the temptation of programming in tests</strong>, it will help you save time and your own sanity.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d34ec4a749ef" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Making sense of all the QA roles]]></title>
            <link>https://medium.com/@tlacenka/making-sense-of-all-the-qa-roles-7b0ef36765b3?source=rss-8c80887c03d2------2</link>
            <guid isPermaLink="false">https://medium.com/p/7b0ef36765b3</guid>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[roles]]></category>
            <category><![CDATA[qa]]></category>
            <category><![CDATA[quality-control]]></category>
            <category><![CDATA[quality-assurance]]></category>
            <dc:creator><![CDATA[Katka Pilátová]]></dc:creator>
            <pubDate>Tue, 25 Jun 2024 11:38:38 GMT</pubDate>
            <atom:updated>2024-11-08T14:30:23.382Z</atom:updated>
            <content:encoded><![CDATA[<p>When it comes to quality, there are many job titles being used — test analyst, QA engineer, SDET and other. While these titles seem to vary and therefore should indicate different responsibilities, the actual job description usually depends on the company’s level of understanding of what quality means and therefore what is needed of this role.</p><p>In this article I will map the different roles to levels of maturity in understanding quality.</p><p><strong>Disclaimer</strong>: This is not a fool-proof guide. Any company can use any job title they want. The less understanding of quality they have the more they might overestimate their own level of maturity or just choose whatever they like best with little connection to the common understanding of the role.</p><h3>QA vs QC vs testing</h3><p>Before we get into it, let us distinguish three terms that are often interchanged:</p><ul><li><strong>Testing</strong>: A Quality Control activity which takes a set of inputs and checks the outputs of a given behaviour. It can be performed by anyone with sufficient knowledge about the product.</li><li><strong>Quality Control</strong>: Reactive quality processes which operate on an existing product. They aim to monitor, assess or review quality. E.g. code reviews, tests.</li><li><strong>Quality Assurance</strong>: Proactive quality processes focusing on prevention and high-level understanding of quality. It includes the process efficiency, technical solution quality and product quality.</li></ul><p>So no, <strong>testing is not QA, not even close</strong>. But it is much easier to comprehend for someone non-technical and therefore is often used as a synonym.</p><p>With this in mind, let us get into the different levels of understanding quality and how they relate to the job titles.</p><h3>[Level -1] Quality? I hardly know her</h3><p>At this level, the quality role is usually not even advertised. The company typically prioritises going to market and adding features as soon as possible over maintainability of their product.</p><h4>Main indicators</h4><ul><li>Minimal or non-existent level of Quality Control in form of shallow code reviews or the product manager clicking through the application from time to time.</li><li>Focus on shipping new features and hotfixes.</li><li>Bugs are solved as they are discovered.</li></ul><h4>Consequences</h4><ul><li>Tech debt piles up. The application is buggy and slow.</li><li>Time to deliver increases overtime.</li></ul><h3>[Level 0] We don’t need a QA role to achieve quality</h3><p><strong>(Full-stack developer)</strong></p><p>Traumatised by a bad quality role experience or overly confident in the other roles, a company might start their journey with a mindset that quality does not need a separate role. This might come in conjunction with lack of separation for other supporting roles, such as DevOps, UX design or project management.</p><h4>Main indicators</h4><ul><li>Everyone is expected to know how to implement quality for their role, often combined with no educational budget. The learning happens “on the job” or in one’s free time.</li><li>Testing and all quality processes are implicitly delegated to the developers.</li></ul><h4>Consequences</h4><ul><li>The long list of responsibilities means that any new hire is essentially expected to be its own full-stack development team. Developers are being forced to become the jack of all trades or have the responsibilities only written on paper while internally still focusing on its own main field of expertise.</li><li>There are no explicit quality experts on the team. This can result in a mediocre product with uneven quality throughout, depending on who implemented what. Developers are blamed for that as they are supposed to take up all the necessary roles.</li><li>There is a lot of invisible work going on. While issues may be defined as user stories, the underlying testing, infrastructure and design overhead causes slow delivery and burnout.</li></ul><h3>[Level 1] Initial quality integration</h3><p><strong>Test analyst (manual tester), test engineer (automation tester)</strong></p><p>The company realises that quality is needed but they are unsure as to how to introduce this role. They usually aim to hire a person who will check the quality box and take care of quality on their own. Depending on their background, they will opt either for manual testing (product first) or automation testing (code first).</p><h4>Main indicators</h4><ul><li>The only responsibility of quality is testing, sometimes packed with CI/CD maintenance of the test suites and the test environment, the Quality Control area.</li><li>Reviews are conducted between developers.</li><li>Quality is a separate role, usually isolated from the delivery process.</li><li>In case of a manual tester, they usually perform testing after development is done and create bug reports.</li><li>In case of an automation tester, they usually write integration or E2E tests after development and maintain the entire test suite. They monitor the tests and fix flakiness or failures.</li></ul><h4>Consequences</h4><ul><li>When only one person is responsible for quality, they will become a bottleneck.</li><li>With manual testing, the releases will always wait for the tester to finish their work.</li><li>With automation testing, the tests runs will become slower, coverage falters and it is usually generally accepted that tests just sometimes fail. Their time will become more and more focused on maintenance issues rather than coverage of new features as the application grows, the result of an <a href="https://www.agilitest.com/cards/automated-testing-ice-cream-cone">inverted testing pyramid</a>.</li><li>The team is passive and relies on the tester to uncover bugs.</li><li>The tester is often asked to file bug reports for issues discovered by others.</li><li>Depending on how pull request reviews are practiced in the company, the developers might not be used to continuous feedback. Owing to this or raw communication skills on the tester side, quality might be perceived as checking up on their work and unnecessary nitpicking of their mistakes.</li></ul><h3>[Level 2] Scale-up to a quality team</h3><p><strong>Manual or automation testers + test manager</strong></p><p>This is usually a follow-up from level 1 as the workload becomes too much for one person to handle. The company appoints a testing lead or manager to hire testers and assigns them work in hopes that now finally quality can be covered.</p><h4>Main indicators</h4><ul><li>Same as level 1 — the only responsibility of quality is testing, sometimes packed with CI/CD maintenance of the test suites and the test environment. So we stay in the Quality Control area.</li><li>Reviews are conducted between developers.</li><li>The quality team members are isolated from the main delivery process.</li><li>In case of manual testing, the testing manager divides features between the team. Manual test cases are written for others to perform in the future releases.</li><li>In case of automation testing, the team writes integration or E2E tests and maintains them. When a test fails, a member of the team is assigned to fix it by the manager.</li><li>If there is more than one team in the company, each team is usually assigned their own part of the application.</li></ul><h4>Consequences</h4><ul><li>With more people, the communication and management overhead grows. Testing manager becomes a proxy for the quality team.</li><li>The development team is passive and relies on the quality team to uncover bugs and file bug reports.</li><li>When there are multiple teams, it usually results in gaps in knowledge and differences in the overall company approach to quality as each team operates isolated from the others.</li><li>There might be tension between development and quality, similarly to level 1. As quality does not operate visibly for the developers, they might perceive it as a threat or an unnecessary bottleneck. The testing team and the dev team might result in the “us versus them” mentality and a lack of respect when communicating bugs.</li></ul><h3>[Level 3] Testing joins the team</h3><p><strong>Agile tester, sometimes ambitiously called QA engineer</strong></p><p>When the company matures or adopts agile methodology such as scrum, they are likely to hire a quality person to join their team. The person is still expected to ensure quality on their own but now they are a part of day-to-day delivery process.</p><h4>Main indicators</h4><ul><li>The responsibility is still primarily testing (manual, automated or both).</li><li>Additionally, the quality person is given a platform to give feedback on feature refinements and retrospectives to continually improve the requirements definition and way of working process. This is a huge breaking point as we are getting to the QA area of the product and (albeit limited) processes.</li><li>Quality is represented throughout most of the delivery process (so-called shifting left).</li><li>Reviews are now conducted by both developers (code style, sometimes structure) and quality people (functionality), meaning the team is used to continuous feedback.</li><li>There tends to be a level of scepticism about the relevance of the quality person in the team. Depending on the seniority of the quality person, they might struggle to promote their value or advocate for the user experience.</li></ul><h4>Consequences</h4><ul><li>Developers still rely on quality people to uncover issues for them.</li><li>Quality is given a wider range of responsibilities and opportunities. While this may be great, it also means the person might be spread too thin as they need to juggle multiple responsibilities on their own.</li><li>There is day-to-day communication between developers and the quality person. This promotes comradery and easier understanding of each other’s roles.</li><li>When quality is not understood well by all members of the team, the quality person might be excluded from important conversations and miss necessary context. Advocating for quality and having a single source of truth becomes essential as requirements often change mid-development, and therefore the information from refinement becomes obsolete.</li></ul><h3>[Level 4] Development merges with testing</h3><p><strong>Software Development Engineer in Test (SDET)</strong></p><p>Usually present in dev first companies, this role is meant to expand upon the automation tester. In close collaboration with the developers, this role aims to support development in providing tooling and advice on regression tests and tooling ensuring or measuring code and infrastructure quality.</p><h4>Main indicators</h4><ul><li>SDET is responsible for introducing the overall test strategy. Developers and SDET share responsibilities when it comes to testing individual features (usually SDET take care of E2E tests while developers implement unit and integration tests).</li><li>Additionally, SDET helps maintain the test environment, introduce quality tooling and prevents or tackles technical difficulties such as test flakiness or scaling. In this regard, we are getting to the QA area of the technical solution.</li><li>Reviews are given both by developers (code style, structure) and SDET (quality, tests).</li><li>SDET might or might not be a part of the day-to-day operations of the team.</li></ul><h4>Consequences</h4><ul><li>With a heavy focus on code-first quality, the user experience might suffer.</li><li>When some tests are maintained by developers and some by SDET, the coverage and quality of smaller units of code are not visible to the SDET. This might lessen the added value of unit tests (code modularity, documentation) and introduce missing or duplicate coverage (E2E tests covering something already covered by unit or integration tests).</li><li>If the SDET is not a part of the team, its agency and level of comradery is heavily reduced as it relies on the developers or product manager reaching out.</li><li>“When your only tool is a hammer, everything becomes a nail.” Too many niche flows might be automated for the sake of coverage and as a result slow down the pipelines and/or maintenance. Return of investment is not considered.</li><li>Similarly, with the sole focus on automated tests, many different frameworks, quality tools and approaches might be selected and all members are now expected to use them.</li><li>When development is given free rein, they tend reinvent the wheel by implementing own internal tooling instead of scanning the market for an existing tool.</li></ul><h3>[Level 5] Team ownership of quality</h3><p><strong>QA Engineer, QA Architect, QA Lead</strong></p><p>Quality is no longer something delegated onto a selected subset of people. Each role has quality ingrained to its functioning and processes. QA role offers the main expertise on quality practices while supporting the team in the prioritised areas for delivering optimal value. Depending on the size of the project, this may include a team of QA Engineers and a QA Lead which represents quality in the stakeholder/company meetings.</p><h4>Main indicators</h4><ul><li>QA person is responsible in offering guidance and supporting the team in any relevant area needed to deliver optimal value. This may include:<br>– technical tasks (e.g. tests, code quality, reviews, tech debt overview, DX)<br>– product oriented tasks (e.g. requirements definition, design finalisation, UX)<br>– processes (e.g. uncovering bottlenecks, knowledge sharing, way of working improvements)</li><li>Everyone on the team understands what quality means to their role as well as what quality means to the product (and the company).</li><li>The team is self-managed. While everyone has a main area of expertise, they help with what needs to get done and contact the main expert when needed.</li><li>Culture of continuous feedback (in-depth reviews and other) is established. Feedback is appreciated, not seen as a threat.</li><li>Readability and maintainability is prioritised to have a strong foundation on which to expand.</li></ul><h4>Consequences</h4><ul><li>The team aims to deliver optimal value and is able to adapt to new circumstances. Everyone follows a common goal of the project and understands the “why” behind it.</li><li>The team understands that to go fast is to do it right.</li><li>The team knows how much time is worth investing into quality in a given area to achieve return of investment.</li><li>Feedback is given with respect and understanding of each other’s work.</li><li>Everyone has access to important information which is documented in a predictable place. This makes changes in the team composition easier.</li></ul><h3>Conclusion</h3><p>In my career, I have been involved in various projects at different levels of understanding of quality and with different quality role names. With this new experience, I was able to level up my own understanding of quality, gain insights and be able to help teams integrate quality into their process.</p><p>So when it comes to the quality role names, I recommend listening for what is behind the words themselves — what types of issues the company is struggling with, why they need quality and how open they are to expand their processes to include quality every step of the way.</p><p>That is to say — there is no shortcut to the highest level. It is a journey. In fact, having diverse experience can be very helpful in recognising lower level tendencies and knowing how to help. As long as the team is open to learning new things, you are bound to reach the optimal flow. Be it as a tester or as a QA Lead.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7b0ef36765b3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The what versus how in development]]></title>
            <link>https://medium.com/@tlacenka/the-what-versus-how-in-development-2fe5ae0dd36a?source=rss-8c80887c03d2------2</link>
            <guid isPermaLink="false">https://medium.com/p/2fe5ae0dd36a</guid>
            <category><![CDATA[collaboration]]></category>
            <category><![CDATA[user-experience]]></category>
            <category><![CDATA[developer-experience]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[team-dynamics]]></category>
            <dc:creator><![CDATA[Katka Pilátová]]></dc:creator>
            <pubDate>Sat, 30 Mar 2024 15:55:14 GMT</pubDate>
            <atom:updated>2024-06-25T12:33:55.144Z</atom:updated>
            <content:encoded><![CDATA[<p>In software development we distinguish various roles, both technical and non-technical. In order to have a successful product, all people fulfilling these roles need to work productively with each other.</p><p>In this article, I would like to take a look at the dynamics of these roles through the lens of <em>wha</em>t vs <em>how</em> and propose a healthy way of collaboration despite their, at first glance, different priorities and goals.</p><h3>What are we developing?</h3><p><em>What</em> represents the business value a product needs to provide its users. It requires an expertise in domain knowledge, market demand, user research, pricing models and other.</p><p>The experts on the <em>what </em>(e.g. Sales Specialists, Marketing Specialists, Product Designers) are usually not directly involved in the development process. The decision making and prioritisation is usually done by the so-called Product Owner who is in daily contact with the development team.</p><h3>How are we developing it?</h3><p>The <em>how</em> represents expertise in building a scalable and maintainable technical solution that meets the business requirements.</p><p>The experts on the <em>how </em>fulfil the Solution Architect, DevOps Engineer or Software Engineer role, among others. The decision making can either be central (in case of a Technical Lead role on the team) or decentralised (in case of a scrum team). In both cases, the composition of the development team as a whole should have the expertise necessary to own the <em>how</em>.</p><h3>Daily struggles between what and how</h3><p>It is important to have a balance between these two areas and their impact on the result. The development team should respect that at the end of the day, it is the Product Owner who calls the shots on the functionality and design of the application. Similarly, the business should respect that in order to develop and maintain a good-quality technical solution, the development team should have enough resources to regularly take care of it. But often, that is not the case.</p><h4>When the what takes over</h4><p>Imagine with me, if you will, a project where only the business side makes the calls. The business mainly optimises for revenue and cares about making the users happy as soon as possible. Therefore, the Product Owner prioritises shipping new features, usually with tight deadlines advertised by the business to land new customers.</p><p>So the development team only ships new features and often resorts to hotfixes or workarounds to meet the tight deadlines. As the technical solution keeps changing, the technical debt starts to grow and it takes increasingly more time to ship anything new. With no resources to properly test and maintain the technical solution, the product quality also goes down — it becomes slower, more defects are affecting the user experience.</p><p>As a result, the users complain and the product revenue starts to decrease. But since there is no one talking to the business about the poor health of the technical solution and the increasing invisible work done by the engineers in order to ship anything, the business concludes it is the incompetence of the development team that got them here. More pressure and often micromanagement ensues.</p><h4>When the how takes over</h4><p>Now let me paint a picture where the development team is the one in charge. The development team’s main priority is to have an elegant, cutting-edge, high-quality technical solution. Therefore, they push for new technical initiatives, research and refactoring.</p><p>The Product Owner keeps hearing from the engineers how important it is to do all these things. And because the PO wants what is best for the product and trusts the expertise of the development team, they give in to the pressure. The engineers stop checking the priority of their proposals and even push for changing the functionality, originally well-designed and tailored to the market, to serve the implementation.</p><p>As a result, the elegance of the technical solution gradually overshadows user experience and business goals. The users end up with a fast yet unintuitive interface that is too frustrating to use and so they stop using the product. The development team stays in their technical bubble while the business suffers. Without external perspective, the business lacks the information to find the root cause of this.</p><h3>Keeping the balance</h3><p>In order to ship and profit from a product, the business and target audience knowledge is crucial. But without good technical expertise and regular maintenance, the product will rot. Therefore, both business and technical requirements should have a voice in prioritisation to ensure neither is neglected.</p><p>The crucial, and often underestimated, skill here is to have the ability to understand each other — to translate business requirements to implementation details and vice versa. The Product Owner should be willing to learn enough to understand both the business and technical needs at a high level. Similarly, the development team should learn to communicate technical issues in an understandable way that shows their value for the business.</p><p>As a result, both sides are able to understand and respect the value of the other. From the original fight for resources rises a mutually beneficial collaboration among individuals with the same goal — a healthy and profitable product.</p><h4>Healthy collaboration between <em>what </em>and how</h4><p>Both the business experts and the development team have allocated resources within which they prioritise product and technical quality.</p><p>The development team might not always be happy about the upcoming functionality but they strive to implement a solution serving business requirements, knowing they do not possess the market expertise. They communicate technical difficulties of a proposed design in order for the Product Owner to choose the best solution.</p><p>The business aims to offer the most value to the customers but it always allocates budget for maintenance of the technical solution. Both business and technical requirements are openly communicated and prioritised into deliverable increments by the Product Owner. This allows for the business to have full context of what they can expect while allowing for the development team to self-organise their work.</p><h3>Conclusion</h3><p>At the end of the day, both developer experience and user experience are important for the success of a product. Mutual trust and healthy boundaries between the business and the technical side are crucial. They can be achieved by understanding and respecting the added value of the other. The Product Owner’s role is to be a bridge in between these two sides to ensure healthy collaboration and objectively serve the success of the product.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2fe5ae0dd36a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>