Testing is Contextual—No Best Practices, Please

Testing is Contextual—No Best Practices, Please

Hi !!

Are you following testing best practices??

Be cautious.?

Best practices aren't always the “best”.They are not the golden rules you might think they are.?

They’re highly dependent on context.

What works wonderfully in a situation might backfire in another.?

I will explain this concept unpacking why context is important in testingPut.And how you can approach to face the challenges.

It will be in 2 parts.

1st part is here for you !

Why There’s No Universal “Best Practice”

“Best practice” implies that it is a silver bullet.

It also suggests that there’s a universally optimal way to approach testing. And that can be applied to any situation.?

But it is not !

Software development and testing are complex activities. They are influenced by various factors. Those factors can be project requirements, team dynamics, stakeholder expectations and technology stacks.?

The same practice can yield different results depending on these factors.

Consider the example of agile methodologies.?

Agile practices, such as continuous integration and continuous testing, are widely regarded as best practices.?

Yet, these practices may not always be suitable for you.?

In a small startup environment with limited resources, implementing a full-fledged CI/CD pipeline might not be feasible due to cost or time constraints.?

This can be different in large enterprises.

They might have? multiple teams working on the same product, CI/CD is almost a necessity to ensure smooth collaboration and rapid delivery.

An Example from My Experience

Here’s an experience from my career that illustrates it.

I was working on a project.

In this project, my team was responsible for testing a specific story. The intended functionality of the story was working as expected.

So I closed it.?

Bugs I found during testing were reported and linked to the story, which seemed like a logical and effective approach.?

This process worked well in that project.

And I concluded it as a “best practice.”

Obviously. Right?

Now I started working on a new project.

In that different project, I applied the same approach and quickly ran into trouble. The project manager escalated the issue.

Reason was alarming to me.

He argued that the story should not be closed if there were any bugs related to it.Even if the primary functionality was working fine.?

He was correct.

The reason was that closing a story could signal to developers that the feature was complete.And is ready for production.

This could have potentially led to bugs being overlooked or deprioritized.

This experience taught me a lesson.

What I considered a best practice in one context was not applicable in another. The project’s specific needs, stakeholder expectations and the way success was measured all contributed to my failed approach.

Rest of this article will be in 2nd part.

See you soon !!

-Jayateerth Katti

Amarendra Pani

"Senior QA Lead with 10+ Years of Experience | Mastering Excellence in Software Quality & Elevating Team Dynamics"

5 个月

Totally agree Jayateerth Katti. testing needs to adapt based on the project, not a one-size-fits-all approach.

Vivek Vardhan

QA Engineer | Agile Testing Enthusiast | Expert in Manual & Automation Testing (Selenium, Java) | Skilled in Playwright, Cypress, Katalon & LambdaTest | YouTuber Sharing Testing Insights | Growing a 7K+ LinkedIn Network

5 个月

Jayateerth Katti Great insight, I have been applying a similar approach for some time now ensuring that a tester should never close a story unless all identified bugs are fixed and verified. As you mentioned, closing a story too soon can send the wrong signal to developers and management, implying that the feature is ready for delivery, even when there are unresolved issues. This practice helps maintain the quality and avoids potential oversight.

要查看或添加评论,请登录

Jayateerth Katti的更多文章

  • Testing Is Contextual (Part-2): Factors Affecting Testing Process

    Testing Is Contextual (Part-2): Factors Affecting Testing Process

    In my previous article, I explained why there is no universal ‘best practice’ for testing. In this article, I will…

    3 条评论
  • How To Analyse If you Can Use AI/ML?

    How To Analyse If you Can Use AI/ML?

    Hi !! I've been in the testing industry for nearly 20 years now. Let me tell you this.

  • The Story of Generative AI: A Chat Over Coffee

    The Story of Generative AI: A Chat Over Coffee

    Hi !!! Here is story about history of AI. The interesting part is I have not written it myself.

    1 条评论
  • Exploratory Testing Techniques

    Exploratory Testing Techniques

    Hi !! In my previous articles, I have explained about the challenges in testing , challenges in automated scripts and…

  • Why You Need To Do Exploratory Testing?

    Why You Need To Do Exploratory Testing?

    Hi, In my previous articles, I have explained about the challenges in testing , challenges in automated scripts and…

  • Challenges In Regression Testing

    Challenges In Regression Testing

    Hi In my previous articles, I have explained about the challenges in testing and challenges in automated scripts…

    3 条评论
  • Bugs due to testing-2

    Bugs due to testing-2

    Hi, Let’s continue our discussion on bugs due to software testing. I mean improper testing.

    4 条评论
  • You may have bugs due to testing !

    You may have bugs due to testing !

    Hi , This is true. You can not test 100% of any product or application.

    4 条评论
  • 11 Benefits of Self SWOT Analysis

    11 Benefits of Self SWOT Analysis

    Hey, In the last edition, I had explained about SWOT analysis. In this article, I will explain what are the benefits of…

    2 条评论
  • #29 - How To Do SWOT Analysis ?

    #29 - How To Do SWOT Analysis ?

    In the last newsletter, I mentioned how to set goals. In that article, in order to decide what goals to set, I…