<?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 Dabbagh Bits on Medium]]></title>
        <description><![CDATA[Stories by Dabbagh Bits on Medium]]></description>
        <link>https://medium.com/@dabbaghbits?source=rss-4de3fb4880ac------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*sa0f1DL6ha3jH4b2pdTUBQ.png</url>
            <title>Stories by Dabbagh Bits on Medium</title>
            <link>https://medium.com/@dabbaghbits?source=rss-4de3fb4880ac------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 17:53:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dabbaghbits/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[Lessons From A Director Level Role]]></title>
            <link>https://medium.com/@dabbaghbits/lessons-from-a-director-level-role-7ca9ae7f3462?source=rss-4de3fb4880ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/7ca9ae7f3462</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[management]]></category>
            <category><![CDATA[quality-assurance]]></category>
            <category><![CDATA[leadership]]></category>
            <dc:creator><![CDATA[Dabbagh Bits]]></dc:creator>
            <pubDate>Sat, 25 Apr 2026 22:04:24 GMT</pubDate>
            <atom:updated>2026-04-29T00:28:10.892Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*G0ORCRpngXADjCod" /></figure><p>The jump from Manager to Director isn’t just about a bigger team or a broader scope. It’s a different way of thinking <em>and</em> operating.</p><p>As a Manager, you’re focused on execution. You’re close to the work, solving small problems, and helping your team deliver.</p><p>As a Director, your role shifts. You’re no longer just solving problems. You’re deciding which problems matter, and building the systems that solve them at scale. Your scope of influence changes dramatically. That transition isn’t always obvious, and it’s not something you fully understand until you’re in it.</p><p>After stepping into a Director of QA role, a few lessons became very clear to me. Some new, some things I thought I knew but only really understood once I had to operate at this new level. I’m still learning and adjusting every single day, but thought it useful to share some tips and tricks in hopes it helps anyone treading a similar path.</p><p>This isn’t meant to be a deep dive but rather a quickfire of tips.</p><h3>Tips &amp; Tricks</h3><h3>Be a Sponge</h3><p>You cannot effectively lead a team without understanding the domain you’re working in, what people do, and most importantly WHY they do it. That understanding becomes the foundation of your strategy and the lens through which you prioritize everything.</p><p>In fact, taking it a step further by understanding the historical context of everything is crucial. It helps you truly grasp the “why”, building deeper connections and avoiding repeating past mistakes. More importantly, it helps you prioritize what actually matters.</p><h3>Reject The Status Quo</h3><p>Once you understand everything and the context behind it all, challenge the status quo <em>where it doesn’t make sense</em>. That’s how meaningful change happens.</p><p>You’ll often hear: “we tried that before”, “it’s impossible”, “this is how it’s always been”.</p><p>Recognize that you bring a fresh perspective and have differing skills and experiences. Stay focused and resilient.</p><h3>Unified Vision, Unified Team</h3><p>Directors design systems. And the most important system you’ll build isn’t a process or a framework — it’s alignment.</p><p>Making sure a unified vision, strategy, and set of guidelines exists is the single most important contribution you can make early on. It becomes your team’s north star. It signals to other teams what to expect from you. It creates the conditions for setting expectations, gathering important metrics, and managing performance consistently and fairly.</p><p>Document it. Present it. Message about it constantly. Remind people. Train them. Get detailed when you have to. Make it front-and-centre of everything you do.</p><p>And be realistic about rollout. You’ll likely need to introduce your strategy in waves. Think short-term and longer-term goals. Baby steps are easier than big leaps, for you and for the team.</p><h3>Priority Is Everything</h3><p>When you have a laundry list of action items, things to fix, and new ideas to implement, it can get overwhelming for <em>you, your direct team, and other teams around you</em>.</p><p>Treat it like building an MVP with an Agile mindset. Create an initial list of P1 items to implement and as you work through the list, upgrade P2 items to P1 and continue. Think of it like creating quarterly goals where completing each item in order will help you achieve your yearly goals. The list never disappears, but a clear priority order means the right things get done first.</p><h3>Roll Up Your Sleeves</h3><p>You need to be ready to roll up your sleeves and dive in to the details or create those details yourself. In fact, it’s mandatory if you want any chance of getting things right and gaining any credibility.</p><p>On the flip side, be careful not to be enveloped for too long. There’s a point where you need to step back and refocus on broader team strategy and execution.</p><p>When you do, make sure the structure is in place for others to carry things forward (see the next tip).</p><h3>Set Clear Roles, Responsibilities, and Goals</h3><p>Every organization has different expectations of its people due to various factors like culture, growth path, and leadership. Sometimes those expectations don’t exactly fit your vision and strategy.</p><p>So make it explicit. Set clear roles, define the responsibilities that come with them, and give people concrete examples of what good (and bad) looks like. Then create goals that help each individual reach the desired outcome. Follow up, course-correct when needed, and make sure the right training and support is in place.</p><h3>Don’t Tread Alone</h3><p>No matter what you do, nothing can be accomplished in silo. You will need people from your team and other teams. Be kind, respectful, and helpful.</p><p>Make as many friends with as many people as possible across various teams/disciplines and levels. Invest in those relationships. Quid pro quo is real whether we like it or not: scratch someone’s back to get yours scratched.</p><p>Yes, you’ll sometimes have to bend your own rules to help someone out. That’s not being unprincipled — that’s being strategic. The broader your network and the stronger your relationships, the more you’ll be able to actually progress on your goals helping both the team and company.</p><h3>Listen To Your Gut</h3><p>You’ll face more decisions in a week than most people face in a month. And while good processes, data, and clear frameworks will take you far, there will be times where you have to lean on instinct.</p><p>Here’s what I’ve found: that instinct is right far more often than it isn’t. It’s the accumulated weight of everything you’ve learned, wrapped in a feeling. Don’t dismiss it. Listen to it.</p><h3>Hone Your Metrics Skills</h3><p>Get better at metrics and data presentation. Figure out what you want to measure, how you want to measure it, and be consistent in tracking it. Tailor the team’s processes/guidelines accordingly to make metrics gathering easier (or better yet, automate as much as possible).</p><p>This is critical to measuring your success and that of each individual and the team. It can surface critical action items to add to your backlog. Data is irrefutable.</p><h3>Master The Narrative</h3><p>When you’re in a higher-level role, your audience includes executives and VPs who may not know the ins and outs of your work or discipline.</p><p>So, make sure to think and present from a business and impact perspective. Use language that is universally understandable. Less is more as they say, but be ready to dive into the details at any time.</p><p>Directors live and die by how well they frame a story. Raw data doesn’t move budgets nor affect change — a compelling narrative does. Learn to connect your team’s work directly to revenue, risk reduction, efficiencies or cost savings, and/or competitive advantage.</p><h3>Protect Your Team’s Capacity</h3><p>With a larger team, everyone will want something from you and them. The team will be pulled in different directions. As the workload increases and people become busier, it doesn’t leave room to implement your strategy or improvements.</p><p>Learn to diplomatically but firmly push back. Quantify the cost of every unplanned request. There will be escalations when you reject requests, so be ready with data and explanations of trade-offs.</p><p>Be empathetic as well, but be firm. People’s work and progress depends on you so rejecting requests will no doubt flare emotions.</p><h3>Learn To Manage Upwards</h3><p>Don’t underestimate the importance of managing upwards. Make sure your own leaders understand your vision and direction. Get their feedback early and often. Proactively controlling the information flow upward — what they hear, when they hear it, and how it’s framed — shapes how your entire org is perceived. Surprises going up the chain are always bad.</p><p>Make trade-offs explicit. Doing something means neglecting this other thing. Work with your leaders to prioritize. Make them part of the journey and just as invested as you are. Your success is tightly coupled with how well your leadership chain understands and supports your work.</p><p>Also, make sure to learn the working style of your leaders. If they’re always data driven, have the data handy. If they like to dig into details, make sure you can speak to that level of information.</p><h3>Managing Managers Is A Different League</h3><p>A big change is moving from managing individual contributors to managing managers. You’re no longer directly responsible for the output of every person. You’re responsible for the people who are responsible for that output.</p><p>It’s tempting to dive in, solve problems yourself, or give direction directly to ICs. But doing that consistently undermines your managers and creates confusion in the team’s chain. So while you may have to do it a couple times, you need to find a time to extract yourself.</p><p>Your focus should shift to enabling your managers to succeed. Align them on expectations, give them context, give them metrics to work with, help them make decisions, and hold them accountable for outcomes.</p><p>If your managers are coming to you for every decision, or their teams are relying on you instead of them, that’s a signal. Your job isn’t to be the best problem solver in the room anymore. It’s to build people who can operate effectively without you.</p><h3>Curb Your Expectations</h3><p>You could do everything right and hand-hold every single step, heck do the work yourself even, and then realize that 1 year plan is turning into a 3 year one. That’s ok. Happens to everyone from what I’ve seen.</p><p>Don’t let it deter you. Instead, avoid complacency and like we said before don’t accept the status quo. Be persistent and relentless in your pursuit. Adjust and go back to the tips we already discussed.</p><h3>In Summary</h3><p>As a Manager, you solve problems. As a Director or above, you define what those problems are, their priorities, and then design systems to help solve them.</p><p>The honest truth is, I’m not sure if I’m a much better leader at this point but I’ve certainly become a different one.</p><p>And if there’s one thing I’ve realized, it’s that this role isn’t about having all the answers. It’s about asking better questions, making trade-offs, and building the kind of environment where the right things happen — even when you’re not in the room.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7ca9ae7f3462" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[More than bugs: Why quality within the entire SDLC is critical]]></title>
            <link>https://medium.com/@dabbaghbits/more-than-bugs-why-quality-within-the-entire-sdlc-is-critical-b8a6159fe19c?source=rss-4de3fb4880ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/b8a6159fe19c</guid>
            <category><![CDATA[quality-software]]></category>
            <category><![CDATA[quality-assurance]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[agile]]></category>
            <dc:creator><![CDATA[Dabbagh Bits]]></dc:creator>
            <pubDate>Tue, 22 Apr 2025 01:20:51 GMT</pubDate>
            <atom:updated>2025-04-22T01:50:37.278Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VuAWSPcW5SXcHHtV.png" /></figure><p>When people hear “quality,” they often think only of “Quality Assurance” and testing. If something breaks in production, the first reaction is usually to question whether QA caught it, or if there was even a QA team involved. But this perspective is far too narrow.</p><p>Quality isn’t just about testing. It’s about building things <em>right</em> at every stage of the Software Development Life Cycle (SDLC). That means using the right tools, following good processes, writing quality code, communicating clearly, and thinking critically. A gap in <em>any</em> part of the process can ripple downstream, creating miscommunication, delays, frustration, and ultimately a lower-quality product.</p><p>To really drive it home, it helps to walk through how mistakes or oversights in each SDLC phase can affect not just the product, but the entire team and company. This post assumes you’re familiar with the SDLC. If not, there are plenty of quick refreshers out there. While the terminology and structure may vary across organizations, the core stages are largely the same.</p><p>One last note: my experience leans more into the requirements, design, development, testing, and software delivery process areas, so that’s where I’ll focus. There’s plenty to unpack in each phase, but I’ve aimed to keep things concise. If you’re short on time, skimming the headings and subheadings alone will give you the main takeaways.</p><h3>Requirements Phase</h3><h3>Insufficient customer or product research</h3><p>First, it’s about building the right thing. Without solid research into customer needs and pain points, the team risks solving the wrong problems. Designers may focus on the wrong UX flows, developers build features no one uses, and QA may validate functionality that ultimately doesn’t matter. The result? A product that doesn’t meet the customer’s needs, wasting time, money, and reducing customer satisfaction.</p><h3>Incomplete requirements</h3><p>By failing to examine requirements from all necessary angles (technical, user, business, edge cases), we leave gaps that can bite the team later. Designers have to rework screens, developers hit unexpected blockers, and QA struggles with unclear test scenarios. This leads to context-switching, last-minute discussions, and a general slowdown. Worse, if no one catches the gap, the feature goes live incomplete-hurting product quality and credibility.</p><h3>Not using a project management tool</h3><p>When requirements live in disconnected tools like Google Docs or Excel, we lose visibility, version control, accountability, and traceability. PMs can’t track progress or dependencies, developers don’t have a clear backlog, and QA lacks a single source of truth. A proper tool like Jira or Asana helps with task assignment, status updates, linking user stories to bugs or epics, and ensures the whole team is aligned on what’s happening and when.</p><h3>Allowing scope creep</h3><p>Scope creep, while sometimes necessary, needs to be treated very carefully. PMs scramble to realign priorities, developers feel overworked, designers have to redo their work, and QA has less time to test thoroughly. This reactive cycle creates stress, burnout, and bugs-ultimately damaging product quality and slowing delivery.</p><h3>Planning Phase</h3><h3>Lack of prioritization</h3><p>The cliché “when everything is a priority, nothing is a priority” is painfully real. Without clear priorities, teams spread themselves thin, constantly switch context and dig themselves into fire-fighting mode. PMs struggle to provide direction, developers build features in the wrong order, designers design screens no one needs yet, and QA scrambles to test whatever shows up. The result is a chaotic process full of mistakes, delays, and a product that feels fragmented and unfocused.</p><h3>Unrealistic or no timelines</h3><p>Unrealistic deadlines lead to rushed work, stress, and burnout. Developers cut corners, QA has less time to test, and designs are pushed through without validation. When the pressure becomes the norm, quality drops and team morale suffers. On the flip side, having no timeline means work drags indefinitely. Teams lose urgency, planning becomes sloppy, and features miss critical market windows. Customers see delays, and the company loses its competitive edge.</p><h3>Poor people allocation</h3><p>It’s not just about quantity-it’s about fit. Not having enough people forces teams to cut scope or sacrifice quality. But even with enough people, assigning work to someone with the wrong skill sets slows progress. Developers may need hand-holding or rework, designers might miss product context, and QA might lack domain knowledge. The entire SDLC suffers, leading to mediocre output and missed expectations.</p><h3>Not identifying or considering dependencies</h3><p>Overlooking dependencies creates invisible blockers. A developer who needs an API that isn’t ready stalls or builds against a mock, which later causes integration issues. QA teams without early access to environments or data delay their testing. Designers waiting on product input can’t finalize their flows. The lack of foresight causes bottlenecks, frustration, and last-minute rushes that hurt product stability and timelines.</p><h3>Design Phase</h3><h3>Unclear or low-quality designs</h3><p>When designs lack clarity or fail to address various scenarios (like mobile vs. desktop, error states, or edge cases), they become a bottleneck. Developers are forced to interpret or guess, QA doesn’t know what the “correct” behavior looks like, and PMs and Designers must constantly clarify. This confusion leads to rework, inconsistent user experiences, and a drop in overall product polish and cohesion.</p><h3>Designs without dev or qa input</h3><p>Without developer input, designers may propose solutions that are complex to build, inefficient, or incompatible with existing architecture. Without QA involvement, potential testability issues or edge cases are overlooked. This disconnect results in delays, brittle implementations, and a user experience that doesn’t align with technical realities.</p><h3>Lack of technical designs</h3><p>Skipping technical design or architecture discussions may save time upfront but costs more later. Without planning around scalability, reliability, or integration points, developers may rush into coding with short-sighted solutions. This can lead to performance issues, increased tech debt, or entire features needing rework. As deadlines loom, the team cuts corners to compensate, reducing code quality and product stability. This isn’t always needed, but when it’s missing its effects are vast.</p><h3>Development Phase</h3><h3>Not thoroughly reviewing requirements and designs</h3><p>Developers have another opportunity before coding to validate what they’re building. Skipping a requirements and designs review leads to misunderstood functionality, missed edge cases, and wasted effort. Designers/PMs get unexpected implementation questions, QA discovers missed scenarios (the famous ‘we didn’t talk about this requirement so it’s not a bug’ debate), and PMs deal with delivery delays or scope debates.</p><h3>Lack of impact or risk assessment</h3><p>Failing to ask “what might this change break?” is a fast track to bugs in production. Without risk assessment, developers miss critical scenarios, QA may not know what to regression test (yes, risk assessment is part of QA’s job too), support teams face angry customers, and the whole team’s work is disrupted to address production issues.</p><h3>Neglecting scalability, security, or maintainability</h3><p>If developers skip core principles like scalability and security, the product may work — for now. But as users grow or threat models evolve, performance issues, data breaches, or instability emerge. QA might struggle to simulate load or security edge cases. Maintenance becomes painful, and the team scrambles to fix flaws that should’ve been considered from the start. Long-term product quality takes a massive hit.</p><h3>Poor software design practices</h3><p>Messy and unstructured code that doesn’t follow proven design patterns leads to fragile systems. Developers spend more time fixing bugs and less time shipping value. Every small change risks breaking unrelated parts of the system. Without clean architecture, modularity, or reusable components, code becomes hard to test and harder to scale. If unit tests are skipped, even basic failures (like null checks) slip through, causing production incidents and undermining trust in the codebase.</p><h3>Ineffective or no code reviews</h3><p>Code reviews catch bugs, ensure requirements are met, and promote shared understanding. Skipping them means low-quality code, increased technical debt, and missed opportunities to improve design.</p><p>But improper code reviews are just as bad — reviews that lack depth, context, or accountability waste time and fail to deliver value. The benefits of code reviews are widely <a href="https://about.gitlab.com/topics/version-control/what-is-code-review/?ref=dabbaghbits.com">documented</a>.</p><p>Code that lacks clear documentation slows everyone down. Future developers — even the original author — waste time deciphering logic. Important decisions or assumptions get lost, and onboarding new teammates becomes harder and slower. While AI assistants reduce some friction, good in-line comments and concise documentation still save countless hours and avoid missteps. The little time spent documenting pays off quickly across the team.</p><h3>Lack of unit tests</h3><p>The absence of unit tests is one of the clearest indicators of a low-quality codebase. It burdens QA, slows down feedback loops, and leads to constant regressions. Relying solely on end-to-end tests makes test suites brittle and hard to maintain. Developers lack confidence in their changes, and features take longer to ship. Unit tests empower faster dev cycles, shift quality left, and help QA focus various types of testing instead of playing “catch the falling knives”. Teams that skip them pay the price in bugs, instability, and speed.</p><p>Think about it, why would someone write a Playwright test to cover every happy and unhappy path of a login form when you could replicate everything with unit tests that enable higher coverage and are faster and more stable?</p><p>In my opinion, this is one of the most important things a team should be doing. Don’t listen to me, because yes my primary role is in software quality and I may be biased, listen to <a href="https://martinfowler.com/articles/practical-test-pyramid.html?ref=dabbaghbits.com#WritingCleanTestCode">Martin Fowler (or Ham Vocke in this case)</a>.</p><h3>Testing Phase</h3><h3>Not thinking through or tracing requirements</h3><p>When QA doesn’t align testing efforts with documented requirements, it results in test coverage gaps. Critical flows go untested, edge cases are overlooked, and features are validated against assumptions. The result? Incomplete products that don’t meet customer expectations, leading to rework, missed deadlines, and a hit to the company’s reputation.</p><h3>Undocumented test cases and test executions</h3><p>Without documentation, testing becomes a siloed effort that reduces the entire team’s capacity for good quality work. There’s no visibility into what was tested, which scenarios were skipped, or what passed. This creates bottlenecks when handing off work, hampers knowledge sharing, and reduces traceability where compliance is essential. It also makes it hard to identify gaps (because we lose input from others) or improve test coverage over time. It’s simple, we tend to think more clearly by documenting our scenarios, helping with the quality of test coverage.</p><h3>Incomplete or insufficient bugs</h3><p>Bug reports that lack detail waste time. Developers have to guess how to reproduce the issue or may fix the wrong problem entirely. Other QAs can’t verify or retest effectively. Vague or poorly written tickets reduce team efficiency, increase frustration, and allow issues to linger — sometimes slipping into production unnoticed.</p><h3>Not performing regression testing</h3><p>Regression testing is one of QA’s most critical responsibilities. Skipping it means new changes might break existing functionality, silently degrading the product with each release. This decreases user trust and increases the support team’s work. Without consistent regression checks, quality becomes unpredictable, especially in fast-moving environments.</p><h3>Not communicating testing needs or timelines</h3><p>If QA doesn’t communicate what they need — be it test data, environment access, or enough time to complete their work — they get squeezed when testing time arrives. This leads to rushed testing, missed scenarios, and skipped regression. Developers and PMs are also left in the dark, unable to plan or adjust timelines. If QA doesn’t get the time they need to test, they can’t effectively manage risk, and quality suffers.</p><h3>Neglecting automated tests</h3><p>Without automation, testing doesn’t scale. Manual regression grows with each code update and feature, slowing down releases. QA becomes a bottleneck. Under pressure, tests get skipped. Bugs slip through, deadlines are missed, and confidence in testing and deployments drops. Follow the Test Pyramid and ensure an effective automation strategy.</p><h3>Software Delivery Process</h3><p>This is perhaps one of the most overlooked yet most critical aspects of building high-quality software. This is the pot that cooks all the ingredients. A dysfunctional delivery process makes everything else — requirements, design, development, testing, deployments, maintenance — harder to do well. Sure, you can still ship, but it’ll be messy, slow, and painful. Think missed deadlines, increased miscommunication, buggy features, and frustrated teams. We’ll focus on Agile, since it’s the dominant approach today.</p><h3>Not refining the backlog</h3><p>Without a refined backlog, requirements are vague or missing entirely, technical complexities go unaddressed, and stories aren’t ready for the team at the right time. Developers scramble to figure out what to build, QA doesn’t know what to test, and PMs are stuck re-explaining work mid-sprint. Features are either delayed or half-baked, and the product suffers. You’re building the ship as you sail it.</p><h3>Skipping core Agile ceremonies</h3><p>Ceremonies like standups, refinement, sprint planning, and retrospectives aren’t just boxes to tick. They have a clearly defined purpose. Without standups, blockers go unnoticed. Without backlog refinement and sprint planning, priorities get missed and timelines slip. Without retrospectives, recurring issues go unsolved. You <em>can</em> do all of this via Slack or emails, but in practice, that rarely happens effectively.</p><h3>Following someone else’s Agile process</h3><p>While Agile has some core practices and principles, every company, team, and individual is different. Copy-pasting Spotify’s model or blindly following a SAFe diagram won’t work if it doesn’t match your team’s size, product, or culture. Misalignment leads to clunky meetings, overloaded roles, and burned-out teams. Morale drops, trust erodes, and the delivery process becomes a source of friction instead of flow, all of which damage quality and velocity.</p><h3>Not seeing process as an evolving journey</h3><p>If the team expects perfection from the get-go, they’ll be discouraged the moment things get messy (and they will). Agile thrives on iteration. Teams that treat process improvement as an ongoing journey learn, adapt, and grow stronger. Teams that don’t? They stagnate, blame the framework, and return to bad habits (including Waterfall software delivery).</p><h3>Making too many process changes too fast</h3><p>If you’re tweaking everything all at once and constantly — new sprint lengths, new tools, new ceremonies — the team won’t know what’s working and what’s not. Instead of improving, things feel chaotic. People check out. Delivery slows. Quality dips. Sustainable change takes time, reflection, and pacing. Slow down to speed up.</p><p><em>Originally published at </em><a href="https://www.dabbaghbits.com/quality-within-sdlc/"><em>https://www.dabbaghbits.com</em></a><em> on April 21, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b8a6159fe19c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Test cases: more of a nuisance?]]></title>
            <link>https://medium.com/@dabbaghbits/test-cases-more-of-a-nuisance-022251f03d44?source=rss-4de3fb4880ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/022251f03d44</guid>
            <category><![CDATA[quality-engineering]]></category>
            <category><![CDATA[qa]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[quality-assurance]]></category>
            <dc:creator><![CDATA[Dabbagh Bits]]></dc:creator>
            <pubDate>Sat, 04 Jan 2025 15:03:51 GMT</pubDate>
            <atom:updated>2025-01-18T18:22:40.425Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qIgh2xoPftthxZm3.jpg" /></figure><p>The Quality Engineering (QE) profession requires foundational knowledge of test cases, including understanding what to test, how to test, identifying and logging bugs, and leveraging automation (among many other skills outlined in <a href="https://www.dabbaghbits.com/complete-quality-engineer/">this</a> earlier post).</p><p>Test cases can be a touchy subject for quality engineers and other capabilities. Traditional guidelines are to document every test case, every step of every test case, and every execution of the test case. Moreover, many developers rely on these test cases to drive their code.</p><p>In an ideal world, test cases are created before the developer works on a story. The developer then writes their code, QE tests the story by executing its tests, and the story is closed. QE would then update or maintain test cases and test plans, adding whatever is necessary for regression.</p><p>While these are standard QE processes, they often present significant challenges, raising the question: Are test cases causing more harm than good? Let’s explore some common challenges with test cases and potential solutions.</p><h3>Challenges</h3><h4>Requirements Confusion</h4><p>Often, QE creates test cases in isolation by reviewing the story’s Acceptance Criteria (AC). This means they end up testing against their own interpretation of the requirements. When bugs are found, QE often fails the QA for the story, leading to back-and-forth discussions among product, design, development, and QE. The team then tries to determine how to handle scenarios that QE has uncovered but were not previously considered. Cue the classic phrase: “It’s not a bug because we never talked about it.”</p><p>Even if QE initiates these discussions and the team reaches a consensus, it happens too late in the process. Valuable time is lost clarifying requirements, with communication spread across various channels and formats-not an optimal situation.</p><p>Another consequence is that test cases may unintentionally become the source of truth for a product’s requirements. While this can work if the test cases are accessible to the entire organization, it’s not often ideal when the story is still in development as it could lead to further confusion and half-implementations.</p><h4>Massive Test Case Management Effort</h4><p>Test cases must be added, updated, or removed with every new story. But recall how QE often lacks time for test case management. This usually results in new test cases being added without updating or maintaining existing ones. There’s rarely time for refactoring or maintenance.</p><p>he outcome? A growing, unmanageable collection of test cases. Eventually, the team might question whether it’s worth creating test cases at all since they are seldom updated or refactored.</p><h3>Solutions</h3><h4>Stories as the Source of Truth</h4><p>One solution is to ensure that stories, not test cases, are the source of truth during a sprint. Invest time and effort upfront to detail stories as thoroughly as possible. This is easily done by running proper backlog refinement and sprint planning meetings.</p><p>When discussions about ACs lead to changes, deletions, or additions of requirements, update the story itself. This ensures nothing is missed by the time the story is closed.</p><h4>Make Time for Test Cases</h4><p>Another solution is to allocate adequate time for QE to create test cases. This requires more than just individual effort; it’s a team-wide responsibility. Most teams have QE working at full capacity from the start of a sprint to its end. Overloaded sprints with stories consistently carrying over exacerbate the issue.</p><p>To address this, teams should identify their story point completion trends and aim for slightly less work per sprint. This approach gives QE the bandwidth to review requirements, create test cases, update existing ones, and engage in meaningful discussions during backlog refinement or sprint planning.</p><p>QE should share test cases as early as possible. Ideally, this happens during backlog refinement. If not, sprint planning, the beginning of the sprint, or even while the developer is working on a story are acceptable alternatives. The worst-case scenario is not sharing test cases at all.</p><h4>Don’t Be a Test Case Stickler</h4><p>You don’t have to follow traditional test case writing guidelines rigidly. Not every test case needs to be perfectly written or contain every detail. Overly detailed test cases are harder to manage and update. Instead, adopt a test case writing guideline that works for your team. <a href="https://www.dabbaghbits.com/writing-easy-to-read-test-case-titles/">Here’s</a> an example of one such guideline.</p><h3>Summary</h3><p>With all that said, test cases are absolutely helpful and necessary. They help QE and the team better think through requirements, leading to better coverage and a better product.</p><p>Beyond that, they act as the product’s documentation for the entire organization. When a feature changes, the team doesn’t update their stories. But the test cases get updated!</p><p>There are other benefits as well related to planning, coverage, and automation that we’ll cover in an upcoming post. But there is value in creating and managing test cases and your team should invest time and energy to make sure they follow the right processes for maximum benefit.</p><p><em>Originally published at </em><a href="https://www.dabbaghbits.com/test-cases-challenges/"><em>https://www.dabbaghbits.com</em></a><em> on January 4, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=022251f03d44" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A strategic approach to regression tests]]></title>
            <link>https://medium.com/@dabbaghbits/a-strategic-approach-to-regression-tests-454fb1d8c328?source=rss-4de3fb4880ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/454fb1d8c328</guid>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[test-coverage]]></category>
            <category><![CDATA[quality-assurance]]></category>
            <category><![CDATA[quality-engineering]]></category>
            <dc:creator><![CDATA[Dabbagh Bits]]></dc:creator>
            <pubDate>Mon, 18 Nov 2024 02:59:45 GMT</pubDate>
            <atom:updated>2024-11-23T02:39:39.726Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QAk9kSVxoY70D7w_LCpJQQ.png" /></figure><p>Regression testing is a must for maintaining continuous quality in software development. It ensures that new changes don’t break existing functionality, safeguarding the product.</p><p>The approach to defining and running regression tests is critical. The wrong strategy could mean missed coverage, leading to high-severity defects, long testing cycles that delay software delivery or releases, and a lack of transparency around a Quality Engineer’s work.</p><p>This post presents a practical approach to structuring and prioritizing your test cases for efficient and effective regression testing. The ideas are simple:</p><ol><li>Document your test cases</li><li>Categorize and prioritize your tests</li><li>Create a regression test suite</li><li>Define a set of smoke tests</li><li>Execute the right regression tests at the right times</li><li>Follow a test case management process</li></ol><h3>Document All Test Cases — Focus on Regression</h3><p>While documenting all your test cases is valuable, defining which tests will form your regression suite is even more important. These should include test cases covering your application’s most critical, frequently used, and high-risk areas.</p><p>Regardless, always document your test cases as you deliver software. If you haven’t documented anything yet, there is no better time to start than now! Ideally, you’re working in Agile Scrum or Kanban and documenting your test cases as you work on each story. The rest of the steps will be difficult until all test cases are documented and in one place (like Jira).</p><h3>Categorize Your Test Cases</h3><p>To manage test cases effectively, categorize them based on features or functionality. For instance, you can use categories like “Login/Registration,” “Payments,” or “Data Visualization.” This structure not only simplifies test management but also helps identify areas that require more attention. In short, this is how you can determine coverage.</p><h3>Prioritize Based on Importance and Risk</h3><p>Not all test cases are created equal. Prioritize them by considering:</p><ul><li><strong>Importance to the product or user:</strong> What are the most critical features for users?</li><li><strong>Risk level:</strong> Which parts of the application are most likely to fail or cause significant issues if they do?</li></ul><p>This prioritization ensures that you focus your efforts where they matter most.</p><h3>Build Your Regression Test Suite</h3><p>Create a regression test suite from your prioritized test cases, factoring coverage for all categories you defined earlier. This forms the basis of the mandatory test cases that must be run regularly to ensure quality.</p><p>One strategy for choosing test cases is to select a larger number of tests from the highest priority areas and a smaller number from lower priority ones.</p><h3>Identify Smoke Tests</h3><p>Within your regression suite, identify a subset of smoke tests. These highest-priority tests cover essential functionality and should be quick to run. They act as an early warning system, helping you catch critical issues before they spiral into more significant problems.</p><p>Use a mechanism to tag the smoke tests, like labels, for easy querying and identification.</p><h3>Automate for Maximum ROI</h3><p>A critical benefit of defining a regression test suite is that it acts as our backlog for automation! Regression tests provide the highest return on investment (ROI) when automated. Since they’re run repeatedly, automating them saves time and money in the long run.</p><p>Note that you may not be able to automate all the regression tests easily. For example, you may have flows or third-party integrations that require manual intervention.</p><p>Assess each test case and determine how easy it is to automate, then tag it as an automation candidate. These “automation candidate” tests can now be added to stories in the backlog and automated. A story can have 1 test case or multiple test cases associated with it (as long as they’re part of the same flow).</p><p>Smoke tests should be run more regularly. A basic approach is to trigger automated smoke tests after each deployment to an environment and to trigger a complete regression automated run on a nightly or morning basis.</p><h3>Follow a Test Case Management Process</h3><p>Once you have a regression test suite and an automation suite, creating and following a test case management process is essential.</p><p>One approach is throughout a sprint, as you create and document your test cases, assess whether any of them should be part of regression. If so, add them to the suite with the appropriate tags (smoke and/or automation candidates).</p><p>Ideally, you’re automating the happy paths or smoke tests during the same sprint, but if not, create an automation story in the backlog. Speaking of which, refine the automation stories in the backlog and bring them into sprints during sprint planning.</p><h3>Final Thoughts</h3><p>A well-defined regression testing strategy is a cornerstone of continuous quality. By categorizing, prioritizing, and automating your test cases, you ensure you’re always one step ahead of potential issues. Remember, the goal is not just to test but to test smarter-investing time and resources where they will have the most significant impact.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=454fb1d8c328" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[So, you want to shift quality left?]]></title>
            <link>https://medium.com/@dabbaghbits/so-you-want-to-shift-quality-left-4ccf1453c956?source=rss-4de3fb4880ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ccf1453c956</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[quality-engineering]]></category>
            <category><![CDATA[quality-assurance]]></category>
            <category><![CDATA[agile]]></category>
            <dc:creator><![CDATA[Dabbagh Bits]]></dc:creator>
            <pubDate>Wed, 21 Feb 2024 21:22:16 GMT</pubDate>
            <atom:updated>2024-03-02T13:10:26.800Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0_JgiLpCO3GMjx3N" /></figure><p>The term “shift left” has gained steam in the software industry and has started to resonate with many organizations. “Shift left” means moving quality-related activities earlier in the SDLC. Effectively, this should help identify issues earlier, speed up testing, and deliver quality products faster.</p><p>Notice how we didn’t say “testing activities” but rather “quality-related activities”? That’s intentional.</p><h3>What “Shift Left” Is Not ❌</h3><p>There is a misunderstanding as to what this term means. We get too excited and make assumptions that are not realistic or productive for the team. Before we dive into what it means, let’s understand what it’s not.</p><h3>Shifting left is all about testing</h3><p>While yes shifting left is often associated with moving testing activities earlier in our process, that’s often not enough. Achieving a quality product requires the whole team, which means peeking at our process, people, and technology.</p><p>For example, having clear Acceptance Criteria from the beginning will help the team deliver faster and avoid confusion and issues downstream. In this case, we’d be tweaking our requirements-gathering process, how we write story Acceptance Criteria, and our Definition of Ready.</p><h3>QA is now just automation</h3><p>While automated testing is essential for Agile delivery, it complements all the other activities required to ensure quality. The benefits of automated testing shine during regression testing. Automation helps with quick feedback and to reduce testing time.</p><p>Yes, you’ll need automation to shift left. But knowing what to test, how to test it, assessing risk, teaming, and many other activities are also needed. There will always be a human touch to testing and quality in some shape or form.</p><h3>Testing is done when development is complete</h3><p>In traditional working methods, all testing was considered and performed after development was completed. This was time-consuming and tedious, and issues were caught too late.</p><p>Yes, spreading testing across the SDLC is helpful. Incremental testing is good. But forcefully shifting <em>all</em> activities to the left is incorrect and unrealistic. We must stop assuming a feature/story is ready once development is done. Testing happens as the product is built but also sometimes after. There is a benefit to testing once the code is frozen and validating the finished pieces together.</p><h3>The end of the QA role</h3><p>Just because quality activities are spread across the SDLC doesn’t mean we can eliminate the Quality Assurance role. We still need someone focused primarily on quality and championing it across the team and organization.</p><p>There are many benefits to having a QA role on the team, including acting as the glue for the team, having a technical and end-user perspective, and more. You’d be surprised what a great Quality Engineer can do. Read all about it in my post about <a href="https://www.dabbaghbits.com/complete-quality-engineer/">The Complete Quality Engineer</a>.</p><h3>An independent initiative</h3><p>Some organizations try to shift quality left or modernize their quality and testing activities solely through their QA teams or a small group of motivated folks, only to face constant frustration and confusion.</p><p>The idea of “shift left” needs to be understood and prioritized, just like tech debt. It usually takes time and effort away from delivering business-specific requirements. It could mean new ways of working, new tools, new responsibilities across the team, and more. The entire organization must be on board across all capabilities (Product, Marketing, etc.).</p><h3>Let’s Shift Left ✅</h3><p>Right, it’s time to put shift-left into practice. The key is understanding it’s tightly coupled to our delivery methodology (Agile being the most prevalent) and the SDLC.</p><p>These are not all the factors to consider when shifting left, but we highlight the most prevalent and high-impact items from experience.</p><h3>Embed quality into every step of your delivery methodology and SDLC</h3><p>This is the key to shifting quality left. Don’t worry about the roles and who’s doing what. Involve the right folks in the conversation, start combing through your entire delivery and SDLC process, and see where quality and testing fit at each stage.</p><p>Having said that, be careful not to over-complicate your processes. As a matter of fact, make sure to remove outdated or inefficient practices where it makes sense. Use this time to your advantage.</p><p>Some examples of embedding quality could be:</p><ul><li>Technical designs are reviewed before sprint planning</li><li>Unit tests are part of the definition of done for a Developer</li><li>Automated tests must pass before the code is merged</li><li>Communication of changes to dependent teams on time</li><li>UI designs are reviewed before sprint planning</li><li>Data schema review part of the definition of done</li><li>Testing a story occurs in the same sprint — stories can’t be closed until testing is complete</li></ul><h3>Make incremental changes</h3><p>The chances that all changes will be implemented in one go and succeed are slim to none. You’d be doing yourself and your team a disservice by trying this hail-marry. Change is hard, you know that.</p><p>Instead, treat it like a project and many mini-experiments. Prioritize all the changes according to impact, team readiness, and effort. Then, implement some changes, wait for a period of time to gauge how it’s going, collect feedback, and iterate. Then, only when the team is happy with the changes, and there is some stability for a period of time can we start implementing other changes.</p><h3>Involve Quality Engineers early</h3><p>When the Product team is gathering and defining requirements, they usually tap Software Engineering, and if a UI is required, the Design team too. It’s time to add QE to this group. QA should no longer be at the end of the pipeline if you’d like to shift quality left.</p><p>Quality Engineers are usually very knowledgeable about the product and its intricacies (including shortcomings), have a technical and end-user focus, and can provide valuable input during the requirement-gathering phase. They can bridge the gaps between technical and product teams to shape great ACs.</p><p>In addition, the earlier quality engineering is involved, the more time they’ll have to consider quality, risks, test cases, and automation.</p><h3>Your ACs are your source of truth</h3><p>One of the biggest complaints about the old ways of working is the disconnect between Product, Quality Engineers and Software Engineers regarding requirements. The SE is not sure what the QE will test, both have made assumptions about ACs, and Product is busy working on the next set of requirements. Queue debates about AC interpretations, expected functionality, and scope.</p><p>To avoid all this, your story Acceptance Criteria <em>must</em> be your team’s source of truth. Any disputes or uncertainties should be routed through the Product Manager or Owner and updated in the story (or a new story/defect is created). See why involving QE in requirement gathering is important?</p><h3>Consider and document risks early</h3><p>Consider and document risks as early as possible as you think about including quality in each step of your team’s delivery and SDCL process. These can be technical, teaming, dependency-related, or anything that could hinder the delivery of work.</p><p>When considering risk (and I mean really consider it, as in putting in the effort), you automatically factor in quality and testing activities. You anticipate problems and come up with solutions ahead of time.</p><p>No one likes unanticipated problems. While you can’t avoid them entirely, you can prepare for them as much as possible. Otherwise, you’ll waste time coming up with solutions on the fly and could be in a time crunch. The stress is not worth it. Plus, you could choose the wrong solution because you didn’t have time to pivot properly.</p><h3>Automated testing is key</h3><p>To shift left, we must test more efficiently and provide feedback quickly. This is where automated testing comes into play.</p><p>One misunderstood point is that automated testing will help when testing new features. While it can in some cases, oftentimes, it’s not easy. The benefit of automation usually comes from regression testing. Ensuring something we built before is still working as expected today. Another challenge is having too much automation. This can happen, resulting in a lot of time updating, maintaining, and fixing tests. Find the right balance.</p><p>While we’re on the subject, automated testing without CI/CD is almost useless. Your automation needs to be part of your build and deployment process. It should be triggered automatically at the right time and within the right environment. It should also be gating some deployments or downstream processes.</p><h3>Reduce test case documentation</h3><p>This is specific to the QA team, but I lived it and seen it at too many organizations to warrant a mention. Writing detailed test cases and explaining every step is not efficient or useful. The team will spend more time updating test cases or writing them than testing the product or focusing on quality. And they will quickly become outdated and hard to manage, guaranteed, unless you have some clever way of turning ACs into test cases (assuming your ACs are perfect).</p><p>This relates to the point about ACs being the source of truth. I understand the benefits of having dedicated test cases. Each team and organization is different. But make sure you are solving for the disconnect between ACs and test cases and the current state of the product, and find a balance of what good enough means without being too process-heavy.</p><p>Here’s a method that worked for me before:</p><ul><li>Relentlessly focus on making story ACs the source of truth.</li><li>Once we’re done testing the story, move those test cases to our test case management system.</li><li>When writing the test cases, focus on the title. Only add details to the test case if there are complex setup/execution instructions that are hard to remember.</li></ul><p>If you’re looking for inspiration, here’s a <a href="https://www.dabbaghbits.com/writing-easy-to-read-test-case-titles/">post</a> about the challenges of test cases and how to write easy-to-follow and effective test cases.</p><p>I’ve been part of many backlog refinements, sprint plannings, project proposals and whatnot where testing and quality activities were not considered as part of the estimates. What happens? Surprise Pikachu face when a feature isn’t “done on time”, or the QE team is pressured to rush (“QE is a bottleneck”), unit tests are skipped, and more shocked faces when quality is low at the end.</p><p>You should always estimate quality-related activities. That applies to all roles, not just QA. Unit tests, for example, should be considered when estimating a story. When you have complete estimates, you set expectations, avoid confusion, and promote predictability.</p><h3>Final Thoughts</h3><p>Shifting quality left will require effort from multiple fronts. But when done right and with the right people and tools, it can reap massive benefits for any team. The return on investment will be worth it for your productivity, quality, team’s happiness, and organization’s pocket.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ccf1453c956" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Complete Quality Engineer]]></title>
            <link>https://medium.com/@dabbaghbits/the-complete-quality-engineer-67edb267219e?source=rss-4de3fb4880ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/67edb267219e</guid>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[work]]></category>
            <category><![CDATA[quality-assurance]]></category>
            <category><![CDATA[quality-engineering]]></category>
            <dc:creator><![CDATA[Dabbagh Bits]]></dc:creator>
            <pubDate>Thu, 08 Jun 2023 22:03:23 GMT</pubDate>
            <atom:updated>2023-06-11T03:43:46.180Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*alOLpHhy7q9XwS78" /><figcaption>Photo by <a href="https://unsplash.com/@benjaminsweet?utm_source=medium&amp;utm_medium=referral">Ben Sweet</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Traditionally, Quality Assurance was mainly manual testing. Testers worked in silos, testing software from an end user’s point of view. Over the past 20 years (or maybe longer), the Quality Assurance field and the “tester” role morphed due to the shift to Agile methodology, technological advancement, and more engineering-focused work.</p><p>The Quality Engineer role was introduced to find a better approach to testing to keep up with these changes. The ultimate goal was to show how effective an end-user <em>and</em> technical approach to quality assurance can be.</p><p>Everyone has their definition of what makes an outstanding Quality Engineer, including me. Through experience, working at companies of different sizes and maturities, as well as folks with varying backgrounds and opinions, I’ve come to define what I call the Complete Quality Engineer.</p><p>What’s a Complete Quality Engineer? It’s a Quality Engineer, QA, tester, or whatever quality-focused role with multiple interconnected skills and characteristics that bring immense value in the new Agile and technical landscape.</p><p>While there are many skills and characteristics for a testing role (such as “possesses excellent communication skills”), we will not focus on generic soft skills.</p><p>Let’s dive in.</p><h3>Product Expert</h3><p>A QE must be an expert on the product they are testing. They should be highly versed in almost all the features, existing issues, and workarounds for those issues. They should be the next person after the Product Manager for product-related questions.</p><h3>User Focused</h3><p>A Complete QE is an end-user’s best advocate. They understand the user, think from their perspective, and always advocate for their best interests. They steer all conversations towards quality. Being a product expert is helpful here since they understand the features, their connections, and the workarounds.</p><h3>Technical</h3><p>There is a reason this is mentioned high in the list. To put it bluntly, for a QE to be effective, they must have strong technical skills. They don’t need to be masters. They’ll probably never be as strong technically as a developer. But that’s ok. They need to know enough to be dangerous (borrowing this term from a <a href="https://www.learnenough.com/?ref=dabbaghbits.com">website</a> I used to learn Ruby on Rails).</p><p>They know how to read and write code. They can provide input during code reviews. They can write automated tests. They have a good breadth of technical knowledge for engaging and fruitful discussions with their peers.</p><p>That goes for their product as well. Knowing the product is great, but knowing how the product works under the hood is even better. They should have a good understanding of the breadth of technologies and technical implementations across the product. This helps with debugging, knowing what/how to test, and providing improvement suggestions for better quality.</p><h3>Knows What/How To Test</h3><p>This goes without saying, but you’d be surprised 😅 A QE doesn’t need to know every technology and feature. They should, however, learn enough to have an engaging conversation and understand enough to carry out the task most of the way.</p><p>Having the product and technical expertise is key. The QE would know how the product works and can make connections between the features. The technical knowledge completes that understanding and helps them with the testing activities and engaging in meaningful discussions with Developers.</p><h3>Breadth of Testing Skills</h3><p>A QE will come in contact with many testing types, tools, and technologies. It’s not enough to know just UI testing or just <a href="https://www.cypress.io/?ref=dabbaghbits.com">Cypress</a>. They should have a breadth of testing skills and experience to be effective across the product and organization.</p><p>They should at least know UI, functional, API, and performance testing. And they should know at least 1 of the common tools and the common implementation patterns for each.</p><p>To take this a step further, knowing how to test data systems is becoming more critical. I hesitated to mention it earlier because it’s relatively new within the quality assurance field. It is quickly gaining popularity, so having this skill will propel a QE’s value.</p><p>Want more breadth? Know security and accessibility testing. Learn multiple tools for each testing type and know their pros and cons and when to use them.</p><h3>Understands Testing Scope</h3><p>Some know this as unit/integration/end-to-end tests. Others, small/medium/large. Or the <a href="https://martinfowler.com/articles/practical-test-pyramid.html?ref=dabbaghbits.com">Test Pyramid</a>. Whatever you call it, the ability to differentiate what should be a unit test vs an integration test vs an E2E test is vital.</p><p>Testing responsibility can be split between QE and Developers, balancing automated tests at different granularity levels. Knowing this also helps decrease duplicate tests.</p><p>A Complete QE is comfortable lowering the scope of a test to achieve higher reliability and speed. They are ok with not covering every single scenario in an E2E test. They know which granularity is best.</p><h3>Empowers Delivery</h3><p>This one is often overlooked, yet in my opinion, it is one of the most essential characteristics besides strong testing and technical skills.</p><p>Regarding Agile, the QE should know the basics for all the ceremonies. In backlog refinement, they come prepared with questions and ensure that the acceptance criteria are clear and consistent. They complement the Product Manager, Scrum Master, and Tech Lead. They shed light on the testing needed for each story. In sprint planning, they ensure the stories are pointed, including the testing activities. They keep the team honest about their estimates and sprint commitments.</p><p>Beyond that, they know how to balance testing activities against timelines and priorities. Sometimes, a QE must sacrifice an automated test and rely on manual testing so the team can quickly deploy a hotfix. Or they bridge a communication gap between teams to resolve a problem quickly.</p><p>They help the team progress and resolve impediments. They drive the product forwards. Yes, quality and testing take time, but a Complete QE helps the team balance everything against timelines.</p><h3>DevOps Expertise</h3><p>Having DevOps expertise means a QE doesn’t need to rely on others to plug their automated tests into a pipeline or to deploy code to a test environment. Also, they can help the team when there is a deployment or pipeline failure. Or even help with the original setup — another skill to complement the team and be of higher value. Better yet, they can shape tests for DevOps and infrastructure.</p><h3>Balances Perfect vs Good Enough</h3><p>This one is tough. QEs see their role as the ultimate gatekeeper for quality. However, that vision can sometimes cloud their judgment and hinder their relationships with their teammates.</p><p>A Complete QE can balance perfection against good enough. This can relate to the product, how to solve a problem, how the team operates, and more. They don’t let perfect stand in the way of their relationships or the team’s progress. It doesn’t mean they sacrifice quality and always concede their opinion.</p><p>They keep an open mind and know which battles to take on, both with others and with themselves 😀</p><h3>Friend To All</h3><p>An effective QE makes friends with all roles on the team. They don’t isolate themselves or constantly try to be heroes. These relationships can pay dividends in fostering teamwork and better work culture. Ultimately, this leads to a better product. Isn’t that the QE’s end goal?</p><p>They work directly with a Developer when they find an Acceptance Criteria is not met. They advocate for good design to build rapport with UX Designers or bring the Customer Support team into conversations to help them stay up-to-date with what’s coming. These are just some of the examples.</p><h3>Final Thoughts</h3><p>Did you notice how interconnected all the various skills were? That’s what makes a Complete Quality Engineer. Each skill can help the QE conquer another. This is backed by hard work, experience, emotional intelligence, and soft skills.</p><p>With this in mind, venture forth and look for these nuggets of gold. Or strive to be one. You’ll be pleasantly surprised by the value they bring to the team (hint: it’s more than just “testing” or “quality”).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=67edb267219e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quality for Data Systems — Let’s Talk Strategy]]></title>
            <link>https://medium.com/@dabbaghbits/quality-for-data-systems-lets-talk-strategy-3a5ec348b008?source=rss-4de3fb4880ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/3a5ec348b008</guid>
            <category><![CDATA[quality-assurance]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[data-engineering]]></category>
            <dc:creator><![CDATA[Dabbagh Bits]]></dc:creator>
            <pubDate>Sun, 28 Aug 2022 21:28:06 GMT</pubDate>
            <atom:updated>2024-03-02T13:09:27.623Z</atom:updated>
            <content:encoded><![CDATA[<h3>Quality for Data Systems — Let’s Talk Strategy</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dxRurAY22F_AyZSw" /></figure><p>Data is a crucial asset to every business and organization and has sparked fields such as data analytics, data science, and machine learning or artificial intelligence. Organizations have invested heavily in engineering teams to help them store, organize, transform, and understand their data.</p><p>Data Engineers build various systems to collect and store data. While there are numerous project configurations, these are the most common:</p><ul><li>Extract-Transform-Load (ETL) or Extract-Load-Transform (ELT)</li><li>Migration</li><li>Streaming</li><li>Artificial Intelligence/Machine Learning</li></ul><p>Incorrect data affects a business’s ability to serve its customers, resulting in a loss of credibility and revenue, customer dissatisfaction, and potential compliance issues. A holistic test strategy can help teams build quality into their systems and working methods.</p><p>This post aims to reshape our thinking about quality engineering for data projects. We’ll provide a holistic test strategy and introduce testing methods to ensure quality in many ways. We will not dive deep into each topic or section but instead offer a guideline where you can approach creating a quality strategy tailored to your project and systems.</p><h3>Quality Strategy Overview</h3><p>The data pipelines built by data engineers are just software. Software that can be tested and deployed just like any other. Data is moved and manipulated with these systems. But applying a systematic quality assurance strategy or process is relatively new within the industry.</p><p>The concepts are simple:</p><p>⚡️ The end product consists of the data pipelines (functionality) <em>and</em> the data itself. So we must test both.</p><p>⚡️ Ensure quality during development <em>and</em> in production.</p><p>A critical fact — every recommendation for software engineering quality best practices applies to data engineering! That’s writing good quality code with testability in mind, branching strategies, code reviews, unit testing (read on) and more.</p><p>Let’s present essential quality activities to consider:</p><ul><li>Unit</li><li>Functional</li><li>Data</li><li>Security</li><li>Performance</li><li>Data standards adherence</li><li>Code quality and consistency</li></ul><p>We’re going to focus on Functional and Data testing in this post.</p><h3>Quality During Development</h3><p>During development, we’re working in non-production environments (hopefully!) As is standard, functional testing is appropriate at this stage.</p><p>However, data testing may not be applicable, as we may be working with test data from test environments. An issue in data quality is difficult to differentiate between something real vs a result of incorrect data specific to the test environment. With that said, there could be data tests we can perform if they pertain to any functionality or code we write. So, assess this carefully for your system.</p><p>While we may not test the data during development, we can test our tools and frameworks that will run in production to validate data quality. In fact, lower environments are best for this case since we have more control of the data and can add what we need.</p><h3>Quality In Production</h3><p>In production, our systems are live and functioning. We’re also dealing with actual data that is needed by end-users. So we must focus on <em>both</em> functional and data testing.</p><p>Functional testing ensures everything is working as expected, and data testing ensures data issues don’t break our pipelines or cause erroneous results for end users. Often, the same tools and methodologies we use for testing during development apply to testing in production.</p><p>Another essential quality dimension to consider is observability. How do we know if our pipelines and data in production have an issue? Think about monitoring your system in production. We collect metrics, build dashboards where needed, monitor the metrics, and alert when a threshold is exceeded. The team then acts and remediates the issue. Perhaps reloading or fixing specific data sets or re-running pipelines.</p><h3>Confusing Functional &amp; Data Testing</h3><p>If you search “data testing,” the majority of results will be about “data quality testing” referencing these dimensions:</p><ul><li>Completeness</li><li>Integrity</li><li>Uniqueness</li><li>Accuracy</li><li>Consistency</li><li>Timeliness</li></ul><p>These are all valid. The challenge is that they are data characteristics that, from a typical quality engineering perspective, touch upon functional and data tests. For example, completeness and timelines can be considered part of functional testing. This can be confusing because we focus on the terms rather than creating a proper strategy tailored to our project.</p><h3>Functional Tests</h3><p>Pipelines and code can constantly change. We get new requirements, or we may need to fix bugs. Before releasing new or updated code to production, we need to ensure quality and that we didn’t unintentionally break anything.</p><p>Are pipelines working as we expect? Are they successfully moving data from one location to another? Beyond the pipelines, there could be transformation logic as well. Is this logic working as expected?</p><p>Keep in mind the practice of shifting quality left where we implement quality practices as early as possible within the Software Development Life Cycle. In terms of automated testing, follow the <a href="https://martinfowler.com/articles/practical-test-pyramid.html?ref=dabbaghbits.com">Test Pyramid</a>. So if you use a programming language that provides a unit testing library, most of your functional testing can be covered with unit tests.</p><p>As you move up the Test Pyramid and add component, integration, and end-to-end tests, you may need to setup test data to run your automated tests. One gotcha teams face is using massive data sets for testing. You don’t need 1 million rows to validate a requirement. See if you can create a baseline test data set for each level of testing. This can reduce your test data size, decrease the test execution time, and enable automated testing with a repeatable set.</p><h3>Data Tests</h3><p>The data we move has an end-user in mind. It serves a purpose for someone. And that someone usually has requirements for their data. We must ensure it’s high quality and meets the user’s expectations.</p><p>From an engineering perspective, data can come from multiple sources in multiple forms. We must understand it as it’s being ingested and flowing through our system. That helps us set data quality expectations throughout our pipelines. For example, we may not want a column to contain nulls because we know that will break our logic or cause reporting issues downstream.</p><p>Profiling the source data to understand the possible values, types, distributions, and relationships is crucial. This helps us realize possible values and with setting appropriate data expectations. Or it may raise some critical questions for the business or data providers to answer. We should also understand how the data will be used to further our knowledge.</p><h3>Test Methodologies</h3><p>There are various ways to perform functional and data testing. And these methods are intertwined. The majority can cover both, but some are better than others. Confusing, I know.</p><p>The key is to understand the pros and cons of each approach and pick the ones that work for you. Here’s a quick table of each method and what it covers. We’ll dive into each one in the subsequent sections.</p><h3>Unit Tests</h3><p>In any test strategy, unit tests are crucial. They’re fast and reliable, and we can control every parameter.</p><p>Let’s get on the same page about defining a unit test. It is not when we manually test a story or feature. It’s when we write code to test other code (usually via a unit testing library like pytest) without spinning up our solution. It’s testing a specific function, for example. Validating code at the lowest level.</p><p>Of course, these should run in your build pipelines and gate any merge to your main or master branch. Pick the most popular library or module available for your programming language.</p><h3>Side-By-Side Comparisons</h3><p>In side-by-side comparisons, we validate that one data set exactly equals another. This can check the schema, counts, and values are equal between expected and actual data sets. However, it’s best suited for comparing the values of two data sets (expected vs actual).</p><p>As you can imagine, this method can be time and resource intensive if you compare massive amounts of data. So don’t use it for testing in production. If you want to validate that all data during a load exactly matched the source, use data profiling or metadata comparisons instead. Or use a hashing comparison approach (although debugging will be difficult).</p><p>Naturally, this method is excellent for testing functionality during development. We know exactly what the output should be, so we can set up our test data and expected results as we need.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VWQtG8MhGKtHif0xr47j9A.png" /></figure><p>In the above picture, the blue table is our expected result, and the green table is our actual result after pushing our test data through a pipeline. The red cell highlights the difference (or bug) between the two tables.</p><p>Few automated testing frameworks or libraries provide the ability for side-by-side comparisons, so many teams build frameworks in-house. This is achievable with any language using readily-available libraries and offers excellent flexibility.</p><h3>Column-Level Validations</h3><p>In column-level validations, we check whether a specific column meets specific expectations. But not necessarily against another data set. Instead, it’s an inbound test with the expected result defined in the code. For example, are there any rows where the email column is null?</p><p>This methodology can be used for functional and data testing, with more skew for data quality testing since it allows for uncertainty in the data. Also, we are usually not checking for a specific value within a particular column and row. We’re not comparing against an entire data set, either.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*m2UE1s01FRSPJXjq.png" /></figure><p>In this diagram, a sample column-level validation checks the last column and ensures no nulls exist.</p><p>These tests are usually fast and less resource-intensive than side-by-side comparisons. However, they don’t provide as much flexibility for validating a specific scenario or logic. You can be clever about it by controlling your test data, but that may prove difficult. Having said that, you might be able to optimize and use the same tool for functional and data testing during development and production validations.</p><p>Many tools and frameworks exist to help facilitate this testing methodology, with <a href="https://greatexpectations.io/?ref=dabbaghbits.com">Great Expectations</a> and <a href="https://github.com/awslabs/deequ?ref=dabbaghbits.com">Deequ</a> being the front runners. Some platforms have built this in even, like Databricks with their <a href="https://docs.microsoft.com/en-us/azure/databricks/workflows/delta-live-tables/delta-live-tables-expectations?ref=dabbaghbits.com">Delta Live Tables Expectations</a>.</p><p>Data profiling or metadata comparisons is when we use the characteristics of the data to ensure quality. Some examples include:</p><ul><li>Row and column counts</li><li>Min/max values</li><li>Data types</li><li>Distinct values</li></ul><p>This methodology is fast but the least comprehensive, as it doesn’t guarantee all the data is accurate. It could be a “good-enough” approximation or a first test before running more extensive validations. It can also be used for observability.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3a5ec348b008" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>