ThoughtWorks
  • 联系我们
  • Español
  • Português
  • Deutsch
  • English
概况
  • 工匠精神和科技思维

    采用现代的软件开发方法,更快地交付价值

    智能驱动的决策机制

    利用数据资产解锁新价值来源

  • 低摩擦的运营模式

    提升组织的变革响应力

    企业级平台战略

    创建与经营战略发展同步的灵活的技术平台

  • 客户洞察和数字化产品能力

    快速设计、交付及演进优质产品和卓越体验

    合作伙伴

    利用我们可靠的合作商网络来扩大我们为客户提供的成果

概况
  • 汽车企业
  • 清洁技术,能源与公用事业
  • 金融和保险企业
  • 医疗企业
  • 媒体和出版业
  • 非盈利性组织
  • 公共服务机构
  • 零售业和电商
  • 旅游业和运输业
概况

特色

  • 技术

    深入探索企业技术与卓越工程管理

  • 商业

    及时了解数字领导者的最新业务和行业见解

  • 文化

    分享职业发展心得,以及我们对社会公正和包容性的见解

数字出版物和工具

  • 技术雷达

    对前沿技术提供意见和指引

  • 视野

    服务数字读者的出版物

  • 数字化流畅度模型

    可以将应对不确定性所需的数字能力进行优先级划分的模型

  • 解码器

    业务主管的A-Z技术指南

所有洞见

  • 文章

    助力商业的专业洞见

  • 博客

    ThoughtWorks 全球员工的洞见及观点

  • 书籍

    浏览更多我们的书籍

  • 播客

    分析商业和技术最新趋势的精彩对话

概况
  • 申请流程

    面试准备

  • 毕业生和变换职业者

    正确开启技术生涯

  • 搜索工作

    在您所在的区域寻找正在招聘的岗位

  • 保持联系

    订阅我们的月度新闻简报

概况
  • 会议与活动
  • 多元与包容
  • 新闻
  • 开源
  • 领导层
  • 社会影响力
  • Español
  • Português
  • Deutsch
  • English
ThoughtWorks菜单
  • 关闭   ✕
  • 产品及服务
  • 合作伙伴
  • 洞见
  • 加入我们
  • 关于我们
  • 联系我们
  • 返回
  • 关闭   ✕
  • 概况
  • 工匠精神和科技思维

    采用现代的软件开发方法,更快地交付价值

  • 客户洞察和数字化产品能力

    快速设计、交付及演进优质产品和卓越体验

  • 低摩擦的运营模式

    提升组织的变革响应力

  • 智能驱动的决策机制

    利用数据资产解锁新价值来源

  • 合作伙伴

    利用我们可靠的合作商网络来扩大我们为客户提供的成果

  • 企业级平台战略

    创建与经营战略发展同步的灵活的技术平台

  • 返回
  • 关闭   ✕
  • 概况
  • 汽车企业
  • 清洁技术,能源与公用事业
  • 金融和保险企业
  • 医疗企业
  • 媒体和出版业
  • 非盈利性组织
  • 公共服务机构
  • 零售业和电商
  • 旅游业和运输业
  • 返回
  • 关闭   ✕
  • 概况
  • 特色

  • 技术

    深入探索企业技术与卓越工程管理

  • 商业

    及时了解数字领导者的最新业务和行业见解

  • 文化

    分享职业发展心得,以及我们对社会公正和包容性的见解

  • 数字出版物和工具

  • 技术雷达

    对前沿技术提供意见和指引

  • 视野

    服务数字读者的出版物

  • 数字化流畅度模型

    可以将应对不确定性所需的数字能力进行优先级划分的模型

  • 解码器

    业务主管的A-Z技术指南

  • 所有洞见

  • 文章

    助力商业的专业洞见

  • 博客

    ThoughtWorks 全球员工的洞见及观点

  • 书籍

    浏览更多我们的书籍

  • 播客

    分析商业和技术最新趋势的精彩对话

  • 返回
  • 关闭   ✕
  • 概况
  • 申请流程

    面试准备

  • 毕业生和变换职业者

    正确开启技术生涯

  • 搜索工作

    在您所在的区域寻找正在招聘的岗位

  • 保持联系

    订阅我们的月度新闻简报

  • 返回
  • 关闭   ✕
  • 概况
  • 会议与活动
  • 多元与包容
  • 新闻
  • 开源
  • 领导层
  • 社会影响力
博客
选择主题
查看所有话题关闭
技术 
敏捷项目管理 云 持续交付 数据科学与工程 捍卫网络自由 演进式架构 体验设计 物联网 语言、工具与框架 遗留资产现代化 Machine Learning & Artificial Intelligence 微服务 平台 安全 软件测试 技术策略 
商业 
金融服务 全球医疗 创新 零售行业 转型 
招聘 
职业心得 多元与融合 社会改变 
博客

话题

选择主题
  • 技术
    技术
  • 技术 概观
  • 敏捷项目管理
  • 云
  • 持续交付
  • 数据科学与工程
  • 捍卫网络自由
  • 演进式架构
  • 体验设计
  • 物联网
  • 语言、工具与框架
  • 遗留资产现代化
  • Machine Learning & Artificial Intelligence
  • 微服务
  • 平台
  • 安全
  • 软件测试
  • 技术策略
  • 商业
    商业
  • 商业 概观
  • 金融服务
  • 全球医疗
  • 创新
  • 零售行业
  • 转型
  • 招聘
    招聘
  • 招聘 概观
  • 职业心得
  • 多元与融合
  • 社会改变
体验设计敏捷项目管理软件测试技术

Faster, better, stronger: Building a high quality product

Finn Lorbeer Finn Lorbeer

Published: Jul 19, 2019

When it comes to building high-quality products, as a QA, we might usefully start with the question: "What is quality?". It’s often answered academically, philosophically or with ISO definitions. But I’d like to start with a look at the example of a product we all know: a muffin.

What qualities would make a muffin a high-quality muffin? Certainly chocolate sprinkles on top! Let's get straight to the first comparison to quality assurance: just as the chocolate is spread over a muffin after baking, many teams only start caring about the quality of software after programming. The problem in both cases: there is no chocolate (quality) in the muffin (software).

In this article, we want to look at methods and processes that show us how to be quality-conscious as early as possible in software development, or in other words, how to bake the chocolate directly into muffins.



As you might guess, this is something that will significantly increase the scope of work for regular “QAs” , so that we emerge from our role as "Quality Assurance" and become true "Product Quality Specialists".
 

How changes in the process improve quality


If we take a close look at the process steps of a typical agile team, we can see what is going on there in detail.

In the first step ("Analysis") we plan to create value. We write a story for this, which we then put in a "backlog" — so nothing is done with it immediately. In other words: we’re wasting time. In the best case, an analyzed story is still up to date when it is implemented. Often, stories are outdated by this time. In the next step ("Development"), we add the planned value to the product. Afterwards the story waits again in a process step ("waiting for QA"), so here too, we’re only wasting time. The team waits for a Quality Analyst (QA) to review the scheduled value and deliver it to users (“in QA”).

As QAs, we have little influence on the "backlog" column, but "waiting for QA" is "ours". Why should we have a process step in the team where the only thing happening is time being wasted? Removing the “waiting for QA” column has a very positive impact on the speed and quality of the work of the team if we pair it with another tool: work-in-progress limits. The idea is as follows: If there’s no “waiting for QA" column , a developer has no room to leave a story once the implementation is finished and thus cannot just start a new one. Therefore, the developer must ensure that the story is passed to an available QA. This forced handover facilitates direct communication: The QA receives valuable context from the developer; and the developer can make use of the conversation with the QA to check whether all the acceptance criteria of a particular story are actually fulfilled. This conversation is already a big win for quality.

We used these limits in different projects and in different contexts. In one case we were able to shorten the period from "analysis" to "done" for stories from 13 days to just four without anyone having to work "harder" and without compromising on quality. As fewer stories in development do not require constant context changes, successively, the stories can be completed faster. The restriction of "work-in-progress" has a positive effect on the concentration of teams and thus not only on time-to-market but also on the quality of a product. 
 

Synergy of analysts: How business and quality work together


To really work with business people (Business Analyst, Product Owner or Product Manager), it's important to understand all the involved perspectives: Our Business Analysts (BAs) are typically very motivated to publish software quickly, because a late release of a (software) product leads to higher costs and lower income.

The job of QA, on the other hand, is to be sure that a solid and mostly error-free product is being introduced to the market. 

The challenge is to find a balance between speed and quality. To this end, NASA has once analyzed where exactly the cost of errors arise. 
Figure 1: The costs of errors

It's easy to spot the moment where the cost of errors explodes: in production. That isn’t only because the server is called “production”, it’s also due to the fact that bugs that reach a production system are long living and therefore more expensive. But no matter what the exact reason behind this huge increase in cost, a typical reaction is to re-examine everything thoroughly before going into production. These are the automated test cases in our CI / CD systems.
But if you look at the diagram more closely, it seems most cost effective to detect defects as early as possible and deliver high quality right from the start when drafting the requirements and analyzing the stories — and not only while testing.

In my experience, this is best done when QAs and BAs are actually sitting side by side. When they work together on requirements and present them together to the team in short planning meetings. In this way, the knowledge about requirements (including "edge cases" and "sad paths") can be shared with the entire team before implementation. The QAs can be sure that the most important "sad paths" are already considered for the implementation and thus, also automatically tested for regression. In this way, the effort for manual testing is significantly reduced. In contrast to the code-freeze test under time pressure, we’re introducing our products with substantially better quality and much earlier to the market.
 

Be proactive


Ideally, the developers work together with the QAs to structure the regression tests from the unit test level all the way up to required end-to-end tests, adhering to the principle of the testing pyramid. However, no matter how elaborate these tests are when designed, they’re always executed after implementation.

To increase quality from the beginning, we try to apply a simple rule to all teams: Every commit goes to production.

Setting this rule increases the quality: When QAs are no longer the last guardians of possible mistakes, developers spend more time making sure that their tests cover the most important things. And as QAs are the experts for testing, the push-and-pull relationship between developers and QAs is reversed by this new rule. Previously, tickets have been pushed to the QAs for testing. Now, developers are asking QAs for advice on how best to structure the tests — especially before implementation.

A second great advantage is that you're have more flexibility to act in cases of emergencies. Normally, in classic release management, you have a complicated plan for how to perform a release. If something goes wrong, there’s a hotfix-cherry-pick-branch-release-process which bypasses most security measures and quality controls in your team. That doesn’t sound particularly trustworthy.

We no longer need that in our team setups. With release cycles of 30 minutes or less, we can quickly respond to production issues without hotfixes or branches. We don’t even need a rollback strategy any more.

The really interesting question is then how to design the monitoring so that you can find problems in production even earlier. This contains at least the visualization of the number of errors of your application, as well as the server or database response times. If you want to get to a really professional level, you can think about the fully automated detection of anomalies.

As a result, we’ve significantly fewer problems with the releases, while enabling new features in a very controlled manner using Feature Toggles. Not only do we quickly deliver new value to our users, but we also achieve higher quality at the same time.
 

Creating a culture of accepting and learning from mistakes provides the ultimate quality boost


Every team makes mistakes, it's human nature and it’s good, because we learn from mistakes. As QAs, we’re are extremely concerned with the risk and impact of errors, they can help the team make mistakes quickly in a secure environment — and thus enable the team to learn new things very fast. This doesn’t only increase the security and trust in the team and the quality of the software, but almost accidentally also the innovation potential of the team.

One method that we use very intensively — and as QAs constantly demand from the teams — is pair programming. It helps us in particular to avoid small slip ups — which are bound to happen sometimes. An effective damage control is the "pairing" of two people, mostly developers.

But slip ups aren’t the only motivation for pairing. Do you know the "aha moment" that you have when you’ve tried something new and understood how something works? We try to make it as easy as possible for the team to experience such moments by "trying out" (= deliberately provoking mistakes) — and talking within the pair about it!

Lastly, make sure your team has fun.

"Fun", you may ask - "Really?"

Yes. Imagine two different teams. In the first team, the people are very excited, they come to work happily and greet each other in the morning, they communicate and discuss what they’re working on. Then there is the second team where people prefer to get a to-do list in the morning and be left alone for the rest of the day until they delivered towards that to-do list. Which team do you think will build a better product? Which team will make fewer mistakes? Which team is more likely to deliver on time?

Quality Specialists are usually the link between developers and business, we connect people and their perspectives, we help to build a culture of trust. Those are the small things that make up a great culture, and we Quality Specialists are usually in the middle of it.

Combining all of this: a positive team atmosphere, a strong bond between QAs and BAs, an excellently shaped test pyramid and a process that actually enables the team to deliver software to production quickly, will ultimately lead to a better, faster, stronger high quality product.

Ready to shape the future of tech?

Join our team of passionate and bright technologists.

Join us
相关博客
语言、工具与框架

Advocating for software quality at METRO

Rufus Raghunath
了解更多
软件测试

How We Eliminated the Gatekeeper of Quality

Ashwini Ingle
了解更多
软件测试

Is QA Dead?

Rouan Wilsenach
了解更多
  • 产品及服务
  • 合作伙伴
  • 洞见
  • 加入我们
  • 关于我们
  • 联系我们

WeChat

×
QR code to ThoughtWorks China WeChat subscription account

媒体与第三方机构垂询 | 政策声明 | Modern Slavery statement ThoughtWorks| 辅助功能 | © 2021 ThoughtWorks, Inc.