Categories
Experience Reports Ramblings

Reflection: Key highlights as a Quality Coach

I recently reflected upon my failings as a Quality Coach but that wasn’t to say that I failed. Far from it. I am very proud of my work as a Quality Coach and it is a role that I hope to pick up again.

Initiatives

Analytics

As a group we had never really looked at analytics before. It was deemed “too much effort” for our previous application suite given it was often in air-gapped networks (i.e. no way for the data to be sent back to us. However we did bemoan the lack of understanding of our customers.

When picking up a cloud based web application, I latched on to this. First I spoke to people about their challenges and noted how prevalent understanding our customers were. I experimented with Google Analytics and learnt about using it. I then pitched us adapting it, organising some brainstorming and leading to user stories on the backlog… which were then implemented.

I then looked at reporting that data. When we weren’t sure about the importance of fixing a bug, I could point to usage data. When wondering about the impact of a new release, I could point to change in user behaviours. It was useful. We also were using it for our planning to understand when we can try and force customers to switch from an older view to another.

Whilst the developers who did the hard work got the credit (and rightly so), I know full well that I made a difference here.

Refinement & ATDD

Our refinement process had been “grand” for probably around 7-8 years (at least with the teams I worked in). We did lack a little bit of test input at times but generally, not too bad. However when working in a new product area, we had made a few mistakes. We’d misunderstood behaviours, requirements and what is involved. This is why it became a key area for me throughout my time as a Quality Coach.

As it is something I was quite pleased with, I’ll elaborate more in a blog post another time (I have a long “to do” list!), but what I wanted to highlight was that I got testing needs to be considered before starting work. More than that, we also started thinking about the impact of our changes and opportunities for improving quality (including tech debt).

I helped encourage teams to think of edge cases as well, partly by bringing my tester hat and leading by example on asking awkward questions but also I started leveraging my interest in examples, a concept that I’ve explored in manual testing (my first post on here!). Whilst full example mapping sessions felt optimistic, I started getting us to define examples of behaviour and this helped people think of different cases, ask new questions and find that what seemed like a simple change had way more variables. We even managed to take it further in a smaller “standalone” project and implement a process similar to ATDD. I’ll elaborate on this in my separate post but for me, it was a cracking win.

Others

There’s a number of other initiatives that I’m pleased with, which I won’t elaborate on but:

  • Kept unit testing, even in difficult projects where there’s temptation to abandon it, an active area.
  • Started a TDD initiative, including running a workshop with more to come, pairing with an architect (sadly never got a chance to see it through).
  • Meaningful RCAs
  • Collaborative Test Strategy
  • Assessing our levels with different quality attributes (NFRs)
  • We started caring about accessibility (even if unfortunately were told to stop caring)

Coaching & Leadership

Vision

As I started writing about this, I found I had plenty to say, which I’ll follow up in a separate post but one of my personal highlights was setting and sharing a quality vision. The initiatives that I described in more depth above? They are directly tied to part of the vision. We made tangible progress towards a vision. For me it wasn’t a load of fluffy words but integral to what we tried to achieve.

Coaching

Throughout my time as a Quality Coach I tried to develop my coaching skills. I would use retrospectives and RCAs to try and coach developers. Originally I started by trying to coach at a team level (albeit with resistance for taking up team’s time) but eventually got to start having 1:1s with the developers.

Not every session was gold dust but not only was I able to understand people’s challenges better but the developers themselves got plenty of benefit. I was able to explore topics and challenges that went unsaid all too often. As I developed my ability with coaching and asking questions, I was also able to help people solve challenges unrelated to my area of speciality. I got a real kick out of it when I learnt that I’d helped someone solve their problem and I felt it was a positive that people took value from them and were reluctant to decrease the frequency when I was under pressure to reduce the time I spent with the devs in this manner.

Side note: I struggled to sell the value of this coaching.

"When you do things right, people won't be sure you've done anything at all"

Summary

Whilst not without its challenges, I am proud of my work as a Quality Coach. Of course I could have done better in certain areas (this is always the case!) but the teams that I work with are definitely better off from my initiatives, leadership and coaching. It makes me excited to think about what I could achieve in my next role.

Categories
Experience Reports Ramblings

Reflection: Key mistakes as a Quality Coach

I enjoyed my time as a Quality Coach, working with between one and three teams at a time. I think it was a relatively successful stint. However I want to acknowledge some of the areas where I struggled.

Role Definition

As a role, quality coaching is definitely very different to anything that I’ve done before and it was also very new within our group. Unfortunately I never really got myself established into what I think would be the ideal Quality Coach role & responsibilities. It was only when I was on gardening leave, reflecting and taking on board a host of great resources that I felt like I had confidence in my own understanding of the role. If you don’t fully understand your place, let alone others understanding it, this doesn’t set you up for success.

Looking back, I just didn’t spend enough time getting people to talk through the challenges and how they can solve them. I always succumbed to pressure and would reduce my involvement, even if it was glaringly obvious to me that we were only going to suffer later.

Ownership

Coaching is largely about helping people make the right decisions and grow. However in my role I tended to own all of our quality initiatives. I owned our test environment & kit. Test strategies not working? I took responsibility to change that. RCAs only happened if I organised them. Talking about testing early, putting together test strategies etc, tended to only happen when I led it.

The knock on effect here is that whilst the team did view quality and testing as a shared responsibility and collaborated in the journey, they didn’t really lead it enough. I didn’t create enough opportunities to empower people. However “in my defense”, I would argue that a bunch of developers were never going to be super enthusiastic about leading change on test strategy.

I’m curious how they’ll get on without me. Have I led by example and left enough of a framework in place for people to carry it on?

Pairing

I’m a shy and socially anxious person. As no one has ever really paired with me, I wasn’t sure how to engage people. Consequently I did no where near enough to push pairing with people, in particular to push pairing with myself. I did do some mob approaches, which seemed easier from a social point of view, and had some successful sessions in those final few weeks and months but going forward this is arguably my biggest area for growth.

Automated Tests

I hate this topic. And this is a problem.

When it comes to quality and testing, most of the talk is around using these tools and I don’t have a lot of experience here. Don’t get me wrong, I am grand with every C# testing framework that I’ve used, explored TDD as a developer and have a good grasp of the theory & concepts. I’ve ran a TDD workshop (using C#) and introduced automated acceptance tests (in a C# windows app), so I’m definitely not clueless. However I don’t know the syntax or best practices with tools like Selenium, Playwright or Cypress.

Consequently as a coach I can really support people in understand what to test, layering and explain TDD & BDD but when a Playwright test isn’t behaving, I’m useless.

Metrics

Another topic that I’ve never quite gotten along with. It is odd as playing with spreadsheets makes me happy but I just couldn’t really see the value in them – at least the ones that I’ve seen. I was interested in using QPAM or QCTG but they had some subjectivity and it felt an expensive meeting to discuss.

However my biggest lightbulb moment came during a lean coffee session for a DORA Community Discussion on metrics. I’d been approaching metrics as an exploratory testing. Looking at data and seeing what I could discover. Instead I needed to be more of a politician. Have a story then gather data to prove it.

Summary

I believe that I was on the right path but needed to be bolder. I should have been establishing metrics to prove that we have challenges with our quality then using that to justify initiatives that I coach people through.

I need to have more confidence (and/or less fear) with pairing and unfortunately I will have to learn some of the modern automated testing frameworks in order to help me succeed in the future.

Categories
Experience Reports Guide

Meaningful RCAs: Structuring questions

I’ve already talked about how we need to tap into unleashing our inner toddler by asking “why”. But what questions do we ask?

Background

Before getting into the guts of the RCA I like to go through the background. This is partly to act as a refresher for everyone as it may have been a few weeks but also it will help guide me in my questioning.

This usually means sharing:

  • Links to the defect we’re RCAing & the original ticket
  • Links to PRs to fix the issue and where possible the original (“offending”) PR.

Then asking:

  • Can you describe the problematic behaviour? (i.e. what was actually wrong from a user’s point of view)
  • Can you describe the describe the nature of the code fix?
  • What do you remember from working on the story?
    • How long did it take?
    • How many people were involved?

The Fix

Before learning more about why the issue came to be, let’s make sure that we’re confident in the fix. I like to ask two questions here:

  1. How resilient is the fix?
  2. Will we know if the behaviour regresses again? (i.e. did you add automated tests)

Quality Engineering Throughout The SDLC

Now we get into the real important questions. This is where we go through the software development life cycle and think about what we did and whether there were opportunities to (realistically) catch it then.

First of all, if this was an escape, lets ask if we could have caught it in production (e.g. monitoring), release testing or epic close off testing. I wouldn’t advocate for just asking “could have have caught it here?” but asking around what the process is, what was the testing performed and is this something in the scope of what we’d usually test?

We then move on to the story within the sprint, starting with testing of the original story / bug. We’re trying to understand whether this was a brain fart (it happens) or is it just something that we wouldn’t usually consider testing? If not, why not?

Then we get into more technical. We’re looking at the PR, starting with code review. I’ll be asking about the nature of the bug and is that something that we’d look for? I’d want to understand whether SMEs were involved & if not, why not? Did they check the testing notes & automated tests in the code review? Code reviews aren’t ever going to catch everything but it is good to discuss this process. It is a nice chance for people to get to talk about the value and role of a code review too.

I then concentrate on the developer’s testing. What had they covered through automated and hands on tests? How much was iterative? As a former dev, I know all too well how even a well intended developer who tests their work can let things come through here (see dev BLISS).

We’re back then to technical discussions on the code. This is where I hope the architect can ask a few questions, although regularly other team members often chip in. This discussion is a great way for the team to learn from each other.

You might think that now that we’ve talked about the types of testing and the development challenges that we may stop there, but no we don’t!

The teams will have planning and refinement when we’re breaking down the story. We do test strategies and planning at epic and sometimes user story level. We think about the complexity of the code work with architectural studies before starting an epic. Let’s continue diving into these.

Again we’re asking about what was done, whether this is a scenario that could have been caught, either behaviour wise or in code, and tapping into what more we could have done. This helps us with spread left.

A Parting Question

Near the start I asked about our confidence in catching this issue again. Unless we’re running out of time (unfortunately often), I like to ask a similar but slightly wider question. How confident are we that we won’t see a repeat of the issue? Not necessarily the same issue but a similar one.

Summary Section

Finally I’ll have a summary section with actions, learnings and a summary of the RCA. Often written up afterwards because unsurprisingly the hour I book for RCAs isn’t always enough to cover everything in this post! I’ll explain a little more on this in a separate post.

So in short…

We start off by discussing the background of the story to refresh ourselves and help us get an idea on what threads are best to pull on as we go into things. We’ll also check we’re confident in the fix.

We then take our time going through the SDLC. We’re not just asking “could we have caught it?” or “why didn’t we catch it?” but looking at the actions, steps and processes to understand the answer to this.

I switched the ordering from starting with the first stages of the story to starting in prod after advice from a great chap called Stu Ashman. I found this got us much more engagement in some of the testing and activities around post release. You’ll also see how through the different stages we are asking slightly different questions to consider more than “why didn’t we catch it?”.

We’re using every stage as a learning opportunity.

… and that makes for a meaningful RCA!

Categories
Experience Reports Guide

Meaningful RCAs: Asking Why

I did my first RCA back in 2019. We looked at each stage of development and used a “5 whys” approach to tap into why it wasn’t caught at this stage. We maintained this approach over the next few years and when I switched to my more coaching/leadership role in 2023, I started running them with the teams that I supported. We actually used Google Sheets or Excel for these. I’d have my bunch of questions to ask then I’d be asking the question then “why” to the answer. For example:

  • “During refinement did we call out our support for different browsers”
    • Nope, we should have
      • “Why wasn’t it raised? Tell me about your refinement”
      • Well we look at the high level requirements and turn that into ACs. We don’t look at more non-functional aspects.
        • “Why not?”
        • That is for the story’s test plan I guess.
          • “Why does this only impact testing and why isn’t that part of the estimate?”
          • … and so on

The point I’m trying to make in the fictional example above is that rather than just taking that first answer, you tap into it more to understand the real reason why the issue happened.

To help with asking questions, I like to lean on my ignorance – even if I had actually done my homework. It is more powerful to get someone to explain their problem or have to articulate what they did than you saying X & Y was done but not Z. This is why despite having read the ticket several times by now and dived through Slack conversations, I’ll ask who worked on it. I’ll ask whether everything went OK. I’ll ask whether topics like this came up in review.

My point here is I’m not running the RCA to have an answer to “why did this bug come to be” but so that we can discuss it and learn from it. This is what makes an RCA meaningful.

In time I’ve adapted and improved my questions, including the order that I ask them… but I’ll cover more in a subsequent post.

Categories
Experience Reports

Collaborative reflections

Earlier this year I wrote about my changing role and push to help improve working practices and support my teams in testing.

In terms of my role, it is certainly coming together. Over the past few weeks I’ve been getting involved more and more with teams and helping teams reflect on quality. My big win is that my email signature is updated to state “Senior Quality Engineer” (although my mug says “QA Lead”, which confused me a little).

What I wanted to delve into in this post was that reflection.

One initiative that I’ve started driving is regular bug RCA sessions.

I’ve found these to be interesting sessions and generally I’ve been pleased at how people have been open and honest. This is an essential requirement for teams to learn, develop and improve. Whilst my nature says “oh its all the teams doing this”, I think I deserve a wee bit of credit for setting the tone.

Before we got started and at the start of the session I like to stress that it isn’t about blame. It is a collaborative effort to ship a bug. Similarly mistakes will happen, which is why we have processes and practices in place to help us catch and rectify things. If one person is truly to blame, we have bigger problems.

I’ve also been attending, and on occasion facilitating retrospectives.

In both my retros and RCAs one thing I’ve done is play on (and exaggerate) my inexperience in the team’s working practices and software. Being a “question asker” is a valuable quality of a tester and I’ve been experimenting with this. I quite like “tell it to me like I’m an idiot” or “assume I know nothing” (perhaps a Jon Snow costume could enhance this?). The goal here is to get people talking and explaining. It also means that I can ask “so do you all do X testing?” then “Ah okay, you mind me asking why not?” and finally “how can I help?”.

Basically if I have a suspicion, I’ll ask a bunch of questions “to help me get up to speed” and hopefully surface that without being direct (and potentially causing conflict). I’ll also repeat what people have said back to the group to reinforce and also help confirm that understanding. It’s especially useful to move a discussion forward.

I’ve been learning about coaching Vs teaching, especially through talks from the likes of Vernon Richards and Stu Day. I feel like this has helped me act not just as a facilitator but a bit of a coach in this role, but I realise that I still have a tendency to lead with some of my questions to get people talking on what I want, not necessarily where they might have headed naturally.

Finally the other thing I’ve been doing is remotely joining and listening in to meetings whilst I work. Teams can ask my opinion if they want, otherwise I’ll be learning how they work, picking up on things then trying to feed that back when relevant, whether that is between teams or within the team itself.