Envjs and Jasmine: Headless tests FTW
summary
Combines envjs on Rhino with Jasmine specs so Java can run browser tests, hooks them into Hudson via a maven plugin and also provides a rake task for Rails. Claims it turns JavaScript specs into CI-breaking failures so front-end code is accountable, captures XHRs and spies on console calls, and ships as portable scripts that run under Maven or a simple Java command. It works and breaks the build when tests fail.
AI-written summary · about
chapters (13)
- 0:00Start
- 1:52Test your logic!
- 3:04Testing Greenfield
- 5:24How to refactor?
- 5:58Globals make testing tough!
- 6:12Refactor it!
- 6:43Encapsulation makes for cleaner tests
- 7:24Introducing Spies!
- 7:36Testing myNS.log
- 9:00Jasmine-AJAX to the rescuel
- 10:11EnvJasmine - Jasmine made easier!
- 13:13EnvJasmine in Maven
- 13:44EnvJasmine in Rails
related talks
40mTesting Javascript with Jasmine
18mStart using Jasmine. Write better JavaScript. Profit.
41mJavascript TDD for Rubyists
49mFront End Testing Frontier
37mFront-end Testing for Skeptics
30mModern Web Testing: Going Beyond Selenium
43mAshes to Ashes, Specs to Specs: A Farewell to Old Testing Tools
34mWriting end to end tests with a smile
