Automation Testing

Getting Started with Gauge Acceptance Testing

By Test Guild
  • Share:
Join the Guild for FREE

I had a great TestTalks interview with Zabil Maliackal a product manager at Thoughtworks about acceptance testing and their open source framework Gauge.

You might be asking. Why another automation framework for acceptance test-driven development(ATDD)? Doesnā€™t tools like Cucumber handle this?

Yes and no.

BDD vs ATDD

BDD is great (and I love it) if youā€™re using for what it was designed for ā€“ communication. Not a bloated automation framework instead.

But in my experience, many teams skip the most valuable feature communication and go straight to the automation benefit.

Thatā€™s fine if it works for you.

Personally, I find this approach limited with too much overhead for little gain.

Gauge takes a different approach.

First, itā€™s for acceptance testing — emphases on the testing piece. So it focuses on testing not on collaboration among team members like with BDD.

As Zabil mentioned in our interview Gauges is not for solving communication issues within the team. He believes that's not what testing is for. Gage's for specifically solving testing issues related to testing.

After speaking with Zabil I thought Iā€™d give Gauge a quick try.

Quick Getting Started with Gauge

I learn best my rolling up my sleeves and start trying things. So this is a quick intro on how to install and get started with Gauge and Selenium.

Also although I used Selenium in this example Gauge was developed to be a BYOT bring your own tool framework. So you can use Selenium, or you can use anything else for driving your tests.

For example, let's say you have a team developing API. And you need to write acceptance tests for API. Then you can use an API testing tool and plug that into a Gauge and have the same benefit. So it's not strictly selenium you can plug in any tool that you want.

Gauge commands used in this Getting Started Guide

  • npm install -g npm@latest
  • npm install -g @getgauge/cli
  • gauge init Java
  • gauge run specs

More Getting Started with Gauge Awesomeness

One of the sessions youā€™ll have access to this year at the online Automation Guild conference is a hands-on demo on How to Get Started Doing Cross-Browser Testing with Gauge and Selenium WebDriver presented by Prateek Baheti, a developer at ThoughtWorks.

jan-9-13

Register now and get instant access to this must-see session as well as 25 other sessions revealing all kinds of ways to help you create automation awesomeness.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

DevAssure Review: Cut Testing Time Using Low Code Automation?

Posted on 12/11/2024

As you know, testing often becomes a bottleneck in software development due to ...

Leveraging AI and Playwright for Test Case Generation

Posted on 11/22/2024

Two BIG trends the past few years in the software testing space been ...

Symbolic AI vs. Gen AI: The Dynamic Duo in Test Automation

Posted on 09/23/2024

You've probably been having conversations lately about whether to use AI for testing. ...

Automation Guild '25 Online Event - Registration Kickoff Special (Limited Time) - Elevate your E2E testing skills in 2025 >>