It All Starts With The Gherkin
"Cucumberizing" Your Tests
BDD Without "Cucumberizing"
- Write test method names that describe behavior
- Use test class names that provide context: a useful trick is to prefix it with "when". Here's a Java example that might illustrate this a bit better:
Without Cucumber, the answer to, "How do I do automated testing in AngularJS?" is pretty straightforward. Google has built two amazing good tools Karma and Protractor which are test runners that execute unit tests and ui/e2e tests, respectively.
Web / e2e
Start with this:
Then change it to this: