DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

How ChatOps Can Improve Your Testing Process

ChatOps uses chatbots to integrate development tools with communication platforms to help maintain visibility across the development pipeline for all team members.

Brena Monteiro user avatar by
Brena Monteiro
·
Jan. 16, 17 · Opinion
Like (2)
Save
Tweet
Share
4.00K Views

Join the DZone community and get the full member experience.

Join For Free

Testing as efficiently as possible is key to doing DevOps well. One tool you can use to test more quickly and with less effort is ChatOps.

Below, I explain what ChatOps means and how it applies to automated testing.

What Is ChatOps?

The DevOps movement has given rise to a need to maintain visibility across the development pipeline for all team members. ChatOps, which uses chatbots to integrate development tools with communication platforms like HipChat (which was recently integrated into Sauce), helps you do this.

ChatOps keeps the people involved in software development more connected and facilitates conversation-driven development. It allows you to aggregate information about processes, discussions, QA, and testing. This flow improves the delivery of information about the status of the project to all members of the team.

ChatOps and Testing

The participation of testers in ChatOps is essential for a DevOps team that wants to make the most of an automated delivery pipeline. Testers have a great deal of knowledge about how the system has to work and can often identify the cause of a problem even without seeing the code.

ChatOps helps the testing team to present, demonstrate, and reproduce an issue to the development team. This alerts developers to problems so that they can be fixed before they reach users or customers — with minimal disruption to the delivery pipeline, thanks to tools that automate the process of inserting testing information into chat channels.

In the case of the Sauce Labs HipChat plugin, enabling ChatOps is very easy. All the tester has to do is paste a test case URL into the plugin. The development team then receives and visualizes the tests in the same communication platform that the testers use, even if developers do not all have access to the tests results in the original source. The team can even share screenshots and videos if desired via the plugin.

Of course, before deploying ChatOps within the context of testing, it's important to establish a clear, functional and well-documented test process in order to avoid making ChatOps just another piece of bloat within your communication structure. Also, it's very important to notify the team about every new webhook that is added to the communication platform, such as a ChatOps integration. Explain the reason and encourage everyone to pay attention to and use the new functionality.

How to Start

Since ChatOps works via webhooks and allows communication between applications through custom callbacks, this makes it easy to get information about new code pushed to the repository, and receive information about the results of automated tests and deploys (as well as the status of servers and applications) through the same channels.

To build a ChatOps Test environment, it's necessary to have these components in place:

  • A test and development team.
  • A test process.
  • Automated tests.
  • A central testing platform that supports webhooks.
  • A communication platform that allows webhooks and can integrate with your testing platform.

The process that you take for implementing ChatOps should be an extension of your testing process. A good place to start is to create a channel on your communication platform where test information can be posted. Then, include everyone who participates in development, testing, or IT Ops within the channel. Before you start pushing test result information to the channel, have a conversation about expectations and goals, so that everyone is on the same page and knows how to make the most of the ChatOps integration.

Then, once you have established your plan, start sharing the automated test results in an automated way through the ChatOps integration. The result will be a communication pipeline that is as automated and free-flowing as your delivery pipeline — which will, in turn, become better, thanks to the efficiencies you gain through better communication.

Testing Software development teams

Published at DZone with permission of Brena Monteiro. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • The Role of Data Governance in Data Strategy: Part II
  • The Importance of Delegation in Management Teams
  • Why You Should Automate Code Reviews
  • Writing a Modern HTTP(S) Tunnel in Rust

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: