Grab your spot

Last chance: TestGuild IRL hits Austin Nov 3 and Dallas Nov 5.

Software Testing

Article · 3 min read

Machine Learning for Test Coverage Predictions using WEKA

If you attended the AiSummitGuild, you know there are more and more tools leveraging machine-learning algorithms to help with software […]

Joe Colantonio

By Joe Colantonio

Founder, TestGuild · 12 June 2018 at 12:38 PM · Updated 05 January 2025 at 2:05 PM

Machine Learning for Test Coverage Predictions using WEKA

If you attended the AiSummitGuild, you know there are more and more tools leveraging machine-learning algorithms to help with software testing. Most of the tools mentioned during the summit were for helping to drive a browser or application to emulate a user interacting with an application.

But what about leveraging AI for helping with other areas of testing, like test data management?

What is Test Management

Before we take a look at an awesome open source tool that can help with just that, let’s first be sure we’re all on the same page when talking about test management.

Test management is an integral part of the software development process; it focuses on managing the software testing piece of the process. We use test management for both manual and automated testing.

In test management, we perform functions like test planning, testing estimation, monitoring our team’s operations, and mentoring the teams.

Test management plays a significant role in the implementation of these practices. It also helps make test managers’ and leads’ jobs easier.

Although there are many helpful test management tools, many of them have drawbacks when it comes to actually analyzing all your data automatically and giving you deep insights into your data. (*If you’re struggling with choosing the right test management tool for your team, we also have an excellent session by Chad Capson: How to Pick and Implement a TestCase Management System)

WEKA Test Management

WEKA for Test Management Predictions

That’s why I’m excited about an upcoming session by Bhavani R at this year’s Testing Guild (taking place Jun 20-22th). Bhavani will show how she uses a tool called WEKA to help her make predictions for her team’s test data activities, like test estimation, test coverage, and issue forecasting.

Waikato Environment for Knowledge Analysis (WEKA) is an open-source tool developed by the University of Waikato. It’s a collection of machine learning algorithms written in Java for data mining tasks. WEKA gives you an implementation of learning algorithms that you can easily use with your datasets. It also comes with a bunch of tools that can transform datasets as well, and it’s pretty easy to download and install.

Four Areas of WEKA

There are four main UI parts that makeup WEKA:

  1. The Explorer is the primary graphical user interface that gives you access to most of the functionality.
  2. The Knowledge Flow allows you to process, view and visualize the data.
  3. The Experimenter can help you answer questions, like whether one classifier is better than another on a particular dataset.
  4. The Workbench is the unified UI for WEKA.

A typical use of WEKA is to use a learning method to a dataset and analyze its output to discover more about the data. You can also use learned models to generate a prediction of new instances.

Using WEKA for Machine Learning of Test Management Data

In Bhavani’s session, she’ll walk you through the appropriate setup steps to make test coverage predictions using the WEKA’s UI Explorer with its Knowledge Flow Interface. She’ll also demonstrate how you can create and save your testing model in WEKA to reuse it with new datasets for making predictions.

Testing Guild

Join the Online Conference and Community Dedicated to Testing

To see how you can use WEKA to help you with your test management, be sure to register today for the Testing Guild.

 

 

About the author

Joe Colantonio

Joe Colantonio

Founder, TestGuild · Host, TestGuild Automation Podcast

Joe founded TestGuild in 2010 and has spent 27+ years in test automation. He hosts the longest-running automation-testing podcast (600+ episodes) and created Automation Guild, the premier online event for test automation engineers.

Joe Colantonio, founder of TestGuild

About the author

About Joe Colantonio

Joe Colantonio is the founder of TestGuild, an industry-leading platform for automation testing and software testing tools. With over 25 years of hands-on experience, he has worked with top enterprise companies, helped develop early test automation tools and frameworks, and runs the largest online automation testing conference, Automation Guild.

Joe is also the author of Automation Awesomeness: 260 Actionable Affirmations To Improve Your QA & Automation Testing Skills and the host of the TestGuild podcast, which he has released weekly since 2014, making it the longest-running podcast dedicated to automation testing. Over the years, he has interviewed top thought leaders in DevOps, AI-driven test automation, and software quality, shaping the conversation in the industry.

With a reach of over 400,000 across his YouTube channel, LinkedIn, email list, and other social channels, Joe’s insights impact thousands of testers and engineers worldwide.

He has worked with some of the top companies in software testing and automation, including Tricentis, Keysight, Applitools, and BrowserStack, as sponsors and partners, helping them connect with the right audience in the automation testing space.

Follow him on LinkedIn or check out more at his TestGuild profile .

Free PDF

Get 10 quick test automation tips

Actionable tips from top industry experts — skim them fast.