BDD & Javascript, Feedback Needed
Lately, the teams I’ve been coaching have been looking to get Unit Test coverage around their Javascript code. This has resulted in the following approach: Extract the Javascript code from a JSP page and save it in its own .js file Add test coverage using Jasmine Remove said Javascript from the JSP, replacing the embedded code …