Whether to use Cucumber and BDD (Behavior Driven Development) is an old topic and a lot has been shared regarding this already. However I believe many times it’s just the high level technical reasons that make it to the forefront of the argument on how effective it is, and I want to address the topic from a holistic point of view and not just technical.
Many people misunderstand the purpose of Cucumber. Because it seems to yield clearer, plain-language test scripts, testers want to use Cucumber as a general-purpose testing tool, including for API tests. But its true purpose is as a BDD framework. You may be thinking, what’s the harm? Here’s why it makes a difference—and why you should choose another tool for API testing.