3 ms·
I don't think this has anything to do with QA or testing. Just another way to write javascript inspired by the cucumber DSL.
by timmaah 15y ago
I don't think this has anything to do with QA or testing. Just another way to write javascript inspired by the cucumber DSL.
- 3am 15y agoCucumber is a BDD tool. That stands for Behavior Drive Design, which is what the 'when X expect Y' format is. It's intrinsically a testing tool, where the user acceptance tests are described in a BDD format. It's a subset of TDD.
- timmaah 15y agoYou are correct in that cucumber is a testing tool... What is in that repo on github "whenever.js" is not for testing and is not BDD for js or jquery. The author implemented a dsl like cucumber to allow creation of behavior in javascript.
- 3am 15y agoFair enough - I'll call it a failure of imagination for me, then. I saw a DSL that had a BDD syntax for javascript, and thought it was meant to be some form of testing tool. We all have our cognitive blinders :)