Cucumber is Dead, and AI is Replacing It
In February 2023,?SmartBear laid off ?the last remaining person and co-founder of the Cucumber open-source project. The former employee had been involved in determining Cucumber’s future direction within SmartBear. While he had anticipated an end-game, the sudden termination came as a surprise.
Cucumber isn’t the only open-source framework that saw challenges. TestProject faced end-of-life because Tricentis chose to concentrate on its SaaS-based, AI-powered test automation tool, Tricentis Testim. New TestProject accounts were disabled starting November 16, 2022, and all existing accounts were deactivated by the end of March 2023.
Vision Behind Cucumber
Cucumber is primarily a collaboration tool rather than just a testing tool. By using Gherkin, a plain-text language that is readable by non-technical team members. Cucumber allows all team members to contribute to the definition of application behavior. Its focus is on defining requirements collaboratively before implementation. Read:?What is a BDD Framework?
Distinct Cucumber Features
Its misuse occurs when Cucumber is treated solely as a testing tool. When we miss its collaborative and documentation benefits.
What is the Problem with Cucumber?
Yes, Cucumber is not dead literally, but is not favored by most of us either. These events indicate a shift in the test automation industry. Now, companies are increasingly focusing on consolidating their product offerings and prioritizing tools that offer more advanced features, such as SaaS-based, AI-powered solutions. This trend suggests that the market for open-source test automation tools may be facing challenges in terms of long-term viability. Read:?What is Cucumber Testing?
Challenges with Cucumber
As Cucumber’s founder?Aslak Helles?y?said:?“Let’s face it — most people who use Cucumber don’t use it for BDD. They use it for testing, writing their tests afterwards. If that’s your workflow, Cucumber isn’t significantly better than many other testing tools.”
Cucumber is an excellent framework for BDD; however, the problem starts when it is also used for test automation. Here are the challenges associated with it when used for test automation:
Intelligent Alternative to Cucumber
To be honest, these recent changes in the testing arena are not necessarily negative for companies. Today, you have intelligent generative AI-powered tools such as testRigor where you can use your specifications as automated test cases directly. Yes, you will need to make a few changes in the specifications according to testRigor’s language, but everything will be in plain English. Know about?Test Automation with AI .
领英推荐
Your Business Analysts, Product Owners, Developers, QA team, and all other stakeholders can use the same specifications and then execute them as automated test cases. This supports team collaboration as Cucumber does, and you do not need separate teams to write the programming code for implementation.
When Cucumber is used in conjunction with test automation, the extra layer of coding becomes an overhead for the QA team.
With testRigor, you can actually reduce overall QA expenses since it is based on?Specification Driven Development (SDD) . For example, these testRigor commands in plain English are executable automation test steps:
enter "Kindle" into "Search"
enter enter
click "Kindle Scribe"
click "Add To Cart"
check that page contains "Item Added To Cart"
Using testRigor, manual QA professionals can create end-to-end automated tests, regardless of their length or complexity, while spending minimal time on maintenance. This eliminates the common disconnect between manual and automation QA, accelerates the test creation process, and?scales progressively ?until the desired test automation percentage is achieved.
Use this?ROI calculator ?to see why AI-based no-code test automation outperforms other methods.
If you’re considering a transition away from Cucumber, it’s never been easier. Since testRigor is a specification-driven tool, you can effortlessly import your existing Gherkin feature files and transform them into automated tests, removing the need to write Selenium tests or any code at all.
testRigor Features
You can use testRigor and get quick and?visible benefits ?with its?generative AI -powered capabilities. Here are some notable features:
Read more about other?top features ?and?testRigor’s documentation .
Conclusion
The vision behind Cucumber is to enhance the development process by making it more collaborative and transparent. It is focused on delivering value to users through well-defined and tested behaviors. However, it might not suit everyone, especially manual testers or people who are not programming experts.
Team members with extensive testing and domain knowledge can easily generate/create plain English test cases using testRigor and execute them. This provides greater test coverage with minimum time, effort, and cost. This is why testRigor is a?Test Automation Tool For Manual Testers , which lets everyone on the team contribute and use their distinct expertise.
As you consider the benefits of AI-based test automation tools, don’t hesitate to schedule a demo with us to gain deeper insights and discover how these solutions can positively impact your organization.
Independent Consultant | Ex QA Director, OLA | Ex VP JP Morgan | Ex VP Barclays | IIT Madras Alumnus
3 个月What do I need to do so that this post does not come up on the top on my wall - when there is no new comment or reaction or repost.... Not sure what is the algo of linkedin to show some posts on the top repeatedly -- ?
Senior Test Engineer
3 个月If youre leaving AI to generate all your testing than you are in a lot of trouble ??♂?
Test Automation Architect | Lead | Sr SDE @ADP via AGM Tech Solutions
3 个月Really!!!! I guess you need toayoff the guy who prepared this post. The info is outdated old information and you are trying to post is as a new development? Don't be cheap. You can find better topics to advertise yourself.
Founder 5 Elements Learning and Mosaic Words | Published Author | Selenium Committer | Eternal Learner | Conservationist | ??? ????? | #BeKind
3 个月is it built over selenium? lot of comparison with it. or something similar based on webdriver standards? just curious to know. if its trade secret i do understand. cucumber slack channel is quite active - doesn't seem dead to me. Also this "This trend suggests that the market for open-source test automation tools/frameworks may be facing challenges in terms of long-term viability. " can you please point out to the source of this trend, i would like to know for my knowledge. thank you.
Hands-on Software Development Manager | Agile Coach and Trainer | Author
3 个月Have the writers of this article ever tried getting AI to replace this? AI sucks at testing without careful oversight. And also, Cucumber is much more than automation, it is executable requirements. The publisher of this article is obviously selling.