Replies: 2 comments 8 replies
-
Ok, you read a blogpost which is 8 years old. If you follow the modern trends and technologies you may notice that LOT of things has changed since that time. So I don't want to discuss something that was written 8 years ago. I don't have a time machine. Maybe you do. If you like Behat - use it That's simple. |
Beta Was this translation helpful? Give feedback.
-
@DavertMik some warning sign that it is an opinion blog post and that it is horribly outdated would be nice though. Even the answer to second question (Why can’t I write Codeception tests in human language like Behat does) has changed. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Disclaimer: I've used Behat for a couple of projects extensively, so I know its upsides and downsides.
For a new project, I decided to reevaluate codeception as a solution and, long story short, I ended up on this page:
https://codeception.com/12-20-2012/not-bdd.html
In short, I decided to NOT use Codeception after reading that article due to how it is written. Here's a few points why:
$I->click('Order');
instead of$page->dispatch(new MouseEvent(MouseEvent::LEFT_BUTTON));
😉In the end, I was hoping to find some information on why I should use Codeception, instead of Behat (possible trimmed down) or even plain PHPUnit with Mink(for example) and instead I got a poorly-worded, misdirected bash of a competitor. 🤷♂️
Beta Was this translation helpful? Give feedback.
All reactions