<?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 Jesús Pajares on Medium]]></title>
        <description><![CDATA[Stories by Jesús Pajares on Medium]]></description>
        <link>https://medium.com/@jesus.pajares?source=rss-cc7679024df------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Q7WRL-ATNMqmB6U3rs_6KQ.png</url>
            <title>Stories by Jesús Pajares on Medium</title>
            <link>https://medium.com/@jesus.pajares?source=rss-cc7679024df------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 08:23:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jesus.pajares/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[How the Onsite Quality Team at BestSecret is Redefining the Role of the Quality Engineer]]></title>
            <link>https://medium.com/bestsecret-tech/how-the-onsite-quality-team-at-bestsecret-is-redefining-the-role-of-the-quality-engineer-7ff4db723746?source=rss-cc7679024df------2</link>
            <guid isPermaLink="false">https://medium.com/p/7ff4db723746</guid>
            <category><![CDATA[culture]]></category>
            <category><![CDATA[quality-engineering]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[team]]></category>
            <dc:creator><![CDATA[Jesús Pajares]]></dc:creator>
            <pubDate>Thu, 12 Jan 2023 15:29:04 GMT</pubDate>
            <atom:updated>2023-01-12T15:34:42.746Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>In a tech industry where the role of the Quality Engineer is often misunderstood or undervalued, the Onsite Quality team at BestSecret has successfully adapted to the agile era and influenced, promoted, and led quality strategies that have a ripple effect throughout the organization.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*u4Ez5LQozpDNSmkFe5wD5Q.jpeg" /></figure><h3>Introduction</h3><p>Traditionally, quality assurance (QA) teams are responsible for designing, automating, and executing tests for software. While this approach has its benefits, it can also create silos of knowledge and become a bottleneck in the development process. At BestSecret, we have adopted a unique approach to quality control that is aligned with our agile culture.</p><p>The Onsite Quality team was composed of only two members for an extended period of time. It wasn’t until December 2021 that the team grew from 2 to 5 people, and the current working model was implemented. Therefore, everything described in this article is based exclusively on the work done by a mostly new team during 2022.</p><p>Our Onsite Quality team does not design, automate and execute tests, but instead focuses on <strong>promoting a culture of quality</strong>, researching emerging tools and technologies, <strong>continuously improving processes</strong> across the organization, and playing a key role in shaping the overall direction of our software quality processes. This approach allows us to be more agile and responsive to the needs of our development teams.</p><h3>How we work</h3><blockquote>Our Onsite Quality team does not design, automate and execute tests, but instead is responsible for promoting quality culture, researching emerging tools and technologies, and continuously improving processes across the organization.</blockquote><p>Each member of the Quality team is responsible for leading quality initiatives in specific verticals. While we cannot currently offer direct support to every area of the business, <strong>we work closely with development teams to design quality strategies</strong>, attend refinements and other ceremonies, have one-on-ones with Engineering Managers and architects, collaborate with Product Managers, and do our own research and proofs-of-concept (PoCs) that can benefit the team. These PoCs are later presented and shared at <em>Quality Guilds</em> so that other teams can benefit from them as well.</p><p>In order to stay informed about other <a href="https://www.epicagile.com.au/resources/how-to-setup-a-guild/#:~:text=A%20Guild%20is%20a%20collection,of%20a%20community%20of%20practice.">guilds</a> led by other teams (such as Architecture, Frontend, IT Security, or Cloud Guild), we have implemented a <strong>rotation schedule</strong> that assigns a different member of the Quality team to attend each guild session. The assigned member is then responsible for bringing back all relevant information to the rest of the team, following up on topics in which we believe we should be involved, and sharing a summary or any important links in our internal chat. To <strong>encourage participation and maintain a flat hierarchy</strong>, the rotation schedule also assigns a weekly facilitator to lead the weekly sync and monthly retro. This ensures that all members of the Quality team have the opportunity to participate as facilitators and attend the guilds, without overwhelming anyone since the system limits each person to no more than 1 or 2 commitments per week.</p><p>During the <strong>weekly syncs</strong>, we establish a set of weekly goals per vertical related to quality topics, review the goals from the previous week, and ask for help from other team members if needed. We have found that this format for the weekly sync promotes the <strong>natural flow of information</strong> between the members of the Quality team, <strong>increases awareness</strong> about ongoing activities and quality challenges, promotes teamwork, and helps us to organize our weekly work by <strong>setting clear goals</strong>.</p><p>In addition, we hold a <em>Show and Tell</em> session to share our work with the teams, an internal monthly quality retro as well as a monthly <em>QDR</em> wrap-up to review the current state of <strong>Quality Decision Records</strong> (<em>QDRs</em>) (more on this later).</p><p>We also hold a quarterly retro with the teams we support directly to <strong>review the collaboration model and promote continuous improvement</strong>. This helps us to continually <strong>assess and improve our work</strong> <strong>processes</strong> and ensure that we are meeting the needs of the development teams.</p><p>Oh! Almost forgot… last but not least. We also take a 30-minute break every Friday to relax and catch up over coffee.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jvn6uwzC1T8SC4xMOdrKfA.jpeg" /><figcaption>Weekly 30-minute virtual coffee chats without work talk boost team morale</figcaption></figure><h3>What are QDRs?</h3><blockquote>This process allows small, local ideas to have a large impact on the organization and helps to preserve consistency and build a unique quality identity at BestSecret.</blockquote><p>At BestSecret, we use Quality Decision Records (<em>QDRs</em>) as a way to document and discuss decisions related to quality. <em>QDRs</em> are based on the concept of <a href="https://cognitect.com/blog/2011/11/15/documenting-architecture-decisions">Architectural Decision Records (ADRs)</a> by Michael Nygard, which are a way to <strong>document important decisions</strong> and their context so that they can be understood and used by future team members.</p><p>Our use of <em>QDRs</em> arose from the need to <strong>share ideas that we identified as opportunities</strong> in small projects or teams and wanted to define as a global strategic decision for other teams or projects to reuse. This can include ways to address a problem, recommendations on frameworks or tools to use depending on the technological scenario at hand, or even best practices for designing certain tests or tackling a particular challenge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dn2TKrDw7XIxS8-Y3EdCNQ.png" /><figcaption>BestSecret’s QDR Template</figcaption></figure><p>Our usual process, though not rigid or set in stone, involves identifying a need, issue, or opportunity. We then assess whether this is localized and specific or if it can affect or influence other projects or teams. If it is the latter, we prepare a <em>QDR</em> and <strong>describe the context and potentially some of the options</strong>. Depending on the situation, we share the <em>QDR</em> internally within the Quality team or just with the development team that is more involved at that moment with that initiative. The sync, ideally, will lead to a <strong>proposed solution or decision</strong>, which will be shared on relevant <em>Slack</em> channels for review. During the <em>Quality Guild</em> session, the decision is presented and, if there are no objections, discrepancies, or open topics for discussion, it is approved and <strong>action points are written</strong> to implement it.</p><p>It is worth mentioning that <em>QDRs</em> can be created by any engineer, not just by those on the Quality team. In 2022, 25 Quality Decision Records were created at the Onsite business unit. Some examples of <em>QDRs</em> that have been approved include:</p><ul><li>Test Pyramid naming convention</li><li>Mitigate environment dependencies in APPS pipelines</li><li>DoD for bugs</li><li>Use of REST Assured vs Karate for API tests in Java/Kotlin projects</li><li>Test Plan Template</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/786/1*eMmw6Ju7baOyiZ6KdgIhqg.png" /><figcaption>One of the first QDRs we implemented helped establish a consistent naming convention and approach for different types of tests in the test pyramid, improving communication and understanding among teams.</figcaption></figure><h3>Quality Guilds</h3><p>Yet another key part of our approach to quality at BestSecret. Besides being where different options and alternatives for <em>QDRs</em> are discussed and approved, <em>Quality Guilds</em> serve as a <strong>forum for sharing knowledge and discussing best practices</strong> related to quality. These sessions are held twice a month and are open to all e-commerce teams. They provide a channel for sharing knowledge and discussing best practices related to quality. In 2022, we discussed 42 topics in our <em>Quality Guilds</em> (more than 4 times the ones we discussed in 2020 and 2021 together!), covering a wide range of topics such as</p><ul><li>Mutation testing</li><li>Testing strategies for E2E tests</li><li>Android Device Farm</li><li>Cypress code coverage plugin</li><li>Performance Test Repository</li><li>BDD experiences at PnP (Production and Planning)</li><li>Performance tests integrated into Gitlab CI pipelines using K6</li></ul><p>It is important to note that these sessions are not designed for all topics to be led solely by members of the Quality team, but rather for any engineer from any team to present a problem, question, challenge, or situation to be discussed in the group. Additionally, <em>Quality Guilds</em> are an ideal forum for presenting quality improvements in more detail than in a demonstration or “<em>Show and Tell</em>” session.</p><h3>Conclusion</h3><p>One key benefit of the approach taken by the Onsite Quality team at BestSecret is that it has increased <strong>awareness, coherence, collaboration, and communication among teams</strong>. By working closely with development teams, promoting a culture of quality, researching emerging tools and technologies, and participating in guilds and other ceremonies, the Quality team has been able to build strong relationships and foster a <strong>culture of shared responsibility for quality</strong>. This has helped to break down silos and encourage a more holistic approach to quality, resulting in more cohesive and effective efforts to improve processes across the organization.</p><p>In addition, the Onsite Quality team’s approach has streamlined the development process by <strong>providing valuable insights and recommendations</strong> to development teams. By conducting proofs-of-concept, leading transversal topics towards quality, and aligning ways of working across different platforms, the Quality team has been able to <strong>identify and test new approaches that have helped to streamline workflows and eliminate bottlenecks</strong>.</p><p>In a tech industry where the role of the Quality Engineer is often misunderstood or undervalued, the Onsite Quality team at BestSecret has <strong>successfully adapted to the agile era and influenced, promoted, and led quality strategies</strong> that have a ripple effect throughout the organization. This task is not easy without the support and trust of the business unit and the company as a whole, but when it is demonstrated that this approach and <strong>helping teams have full autonomy</strong> <strong>around quality</strong> is more efficient than creating knowledge silos or treating quality as something separate from an engineer’s daily work, it is worth it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7ff4db723746" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bestsecret-tech/how-the-onsite-quality-team-at-bestsecret-is-redefining-the-role-of-the-quality-engineer-7ff4db723746">How the Onsite Quality Team at BestSecret is Redefining the Role of the Quality Engineer</a> was originally published in <a href="https://medium.com/bestsecret-tech">BESTSECRET Tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Speeding up your CI Pipeline by introducing Incremental Analysis on SonarQube]]></title>
            <link>https://medium.com/bestsecret-tech/speeding-up-your-ci-pipeline-by-introducing-incremental-analysis-on-sonarqube-f9eed3b64425?source=rss-cc7679024df------2</link>
            <guid isPermaLink="false">https://medium.com/p/f9eed3b64425</guid>
            <category><![CDATA[sonarqube]]></category>
            <category><![CDATA[ci]]></category>
            <category><![CDATA[sonar]]></category>
            <category><![CDATA[incremental-analysis]]></category>
            <category><![CDATA[speed-up]]></category>
            <dc:creator><![CDATA[Jesús Pajares]]></dc:creator>
            <pubDate>Mon, 21 Jun 2021 10:10:43 GMT</pubDate>
            <atom:updated>2021-06-21T10:10:43.392Z</atom:updated>
            <content:encoded><![CDATA[<p>Limited agents to execute builds, endless analysis time, queued jobs waiting for a slot to run… and very large projects waiting to be tested and analyzed. All this can make your waits quite tedious and your day unproductive, especially if your <strong>CI pipeline takes very long</strong> to fail.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iT6QbeTNzKRE64UJ_eaPAQ.png" /></figure><p>We have seen that happening especially for SonarQube analysis. For a particularly large project (~5000 classes), our <strong>Sonar analysis has typically taken between 20 and 30 minutes</strong> when executed for the main branch or for Pull Requests. This has been <strong>even worse for feature branches</strong>, which are compared with an analysis of the main branch. This means, that for this type of analysis, times were duplicated, <strong>exceeding some times the hour</strong>.</p><p>As you might be thinking, that is inconvenient in many forms. That’s why we came up recently with the idea of introducing i<strong>ncremental analysis</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z9MldTuNwPyVh_Yz0Hioig.png" /><figcaption>Two Jenkins pipelines performing a Sonar Analysis on feature branches compared with the main one. The first one without incremental analysis needs 49 minutes, while the second one only needs 15.</figcaption></figure><p>But let’s contextualize a bit before we dig deeper. Incremental analysis consists of calculating which <strong>classes were actually modified</strong> (or created) by comparing your feature branch with the main one, and then passing only those classes to SonarQube. That way, the <strong>analysis scope would be reduced</strong> from -in our case- ~5000 classes to only, 2 or 3, depending on how large our story or task is. In terms of timing, this <strong>can reduce the duration of your analysis</strong> <strong>significantly</strong>, as the duration is really proportional to the number of classes to be analyzed. Sounds good, right?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/519/1*IhLNDxdl6V7lhH02-81BdA.png" /><figcaption>Three Jenkins runs performing Sonar Analysis. The one at the bottom was performed using incremental analysis, while the first one failed</figcaption></figure><p>And here come the pitfalls. <strong>SonarQube does not support</strong> incremental analysis as a feature. Instead of that, we needed to implement it by ourselves. But let’s not focus on how did we implement this (quite a simple solution, just some <strong>git commands</strong> and the <strong>sonar.inclusions</strong> parameter), but on why the official SonarSource team does not like this idea.</p><p>First of all, incremental analysis is <strong>less accurate</strong>. Example: We remove a call to a function that is defined in a different class. That function is not called anywhere else in our project. The Pull Request or feature branch quality gate will pass, but once merged into the main one, the <strong>analysis will fail</strong> due to a major code smell.</p><p>Besides this, for Pull Requests we know that in the main screen on SonarQube there is always an <strong>estimation of the overall code coverage</strong> that will result in the main branch once the merge is performed. However, with this solution, that percentage will be <strong>based only on the code that has been analyzed</strong> and not the overall one. The same will happen in the “Overal Code” screen for feature branch analysis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/829/1*QU8h-uQ0aou8bzRXjDYKEQ.png" /><figcaption>Estimated coverage after merge is based only on the classes that were used in the incremental analysis</figcaption></figure><p>So, basically:</p><h4><strong>Pros:</strong></h4><ul><li>Much faster analysis</li></ul><h4><strong>Cons:</strong></h4><ul><li>Less accurate</li><li>Overall code coverage estimations based on only the classes analyzed, not the whole project</li><li>We need to maintain it by ourselves, as SonarQube does not support this functionality</li></ul><p>Conclusions? Well… if you ask me, <strong>I wouldn’t introduce this approach unless you really have a problem with the performance</strong> of the Sonar analysis.</p><p>In our case, we have introduced it in only one project out of fifteen we have in SonarQube. For this <strong>exceptional case</strong>, we do believe that the <strong>advantage compensates for the pitfalls</strong> by far. Even if we would introduce a code smell in the main branch, detecting and fixing it would take us much less time than just performing a single analysis of the feature branch. In that case, with the numbers we have, we would be able to perform <strong>more than thirteen analysis in the time we were performing just one</strong> in the past. But of course, <strong>I wouldn’t recommend this approach when the numbers are not that impressive,</strong> as the time gained would not compensate for the potential later feedback that incremental analysis would imply.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f9eed3b64425" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bestsecret-tech/speeding-up-your-ci-pipeline-by-introducing-incremental-analysis-on-sonarqube-f9eed3b64425">Speeding up your CI Pipeline by introducing Incremental Analysis on SonarQube</a> was originally published in <a href="https://medium.com/bestsecret-tech">BESTSECRET Tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>