~/talk

Envjs and Jasmine: Headless tests FTW

Talkat JSConf US 2011 · 2011-05-02..05-03· [testing, javascript]
links:none on file
slides:none on file

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

  1. 0:00Start
  2. 1:52Test your logic!
  3. 3:04Testing Greenfield
  4. 5:24How to refactor?
  5. 5:58Globals make testing tough!
  6. 6:12Refactor it!
  7. 6:43Encapsulation makes for cleaner tests
  8. 7:24Introducing Spies!
  9. 7:36Testing myNS.log
  10. 9:00Jasmine-AJAX to the rescuel
  11. 10:11EnvJasmine - Jasmine made easier!
  12. 13:13EnvJasmine in Maven
  13. 13:44EnvJasmine in Rails
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.