4 ms·
My impression (as a static typing bigot) is that Cucumber style testing is like the crap shoot of dynamic testing (what should I type? What are valid commands?
by stephen 13y ago
My impression (as a static typing bigot) is that Cucumber style testing is like the crap shoot of dynamic testing (what should I type? What are valid commands? What params do they accept?) made an order of magnitude worse by using regular expressions.
...who thought this was a good idea? (Sorry, being harsh.)
That said, I think the idea is conceptually fine, and, as usual, I think could actually be fairly pleasant with the right (static) tooling applied, e.g. ThoughtWorks's Twist:
http://www.thoughtworks.com/products/twist-agile-testing/ http://www.thoughtworks.com/products/twist-agile-testing/
Which is a GUI that provides all the nicities of "what commands are allowed", "what params do they take", "oh, refactor this command name from abc to xyz", etc.
I think PM/testing types would love this sort of setup. Granted, it would still take dev investment to get the fixtures/commands/etc. setup. But if you have a huge line-of-business app that will drive a business for the next 5-10 years, I think that's a good investment.
Disclaimer: I've never actually used Twist because it's a commercial product. Yes, I know I suck.
- JayEnn 13y agoTwist last time I used it appeared to be much more inflexible to cukes. You still had to delve into Java to make it do anything useful so it still has the problems that cukes has.
- karmajunkie 13y agoThis is just a GUI to write the TW equivalent of cukes. Personally I prefer vim.