~/talk

Testing Javascript with Jasmine

Talkat LoneStarRuby Conf 2011 · 2011-08-11..08-13· [javascript, testing]
links:none on file
slides:none on file

Claims that Jasmine makes unit testing JavaScript trivial and shows it working across environments: standalone spec runner with a calculator example that goes from two failures to pass, jasmine‑jquery testing a lettering.js plugin, Evergreen gem wiring specs into Rails, CoffeeScript specs compiling and running, Node.js and rosie support, and headless CI swapping Selenium (≈4s) for capybara‑webkit (≈1s). Shows actual commands, folder layouts, and passing examples like “2 examples, 0 failures.” Jasmine evergreen gem coffeescript specs headless with capybara-webkit

AI-written summary · about

  1. 0:00Introduction to jasmine
  2. 2:31Importance of JS unit testing
  3. 3:21Why test javascript
  4. 7:10Understanding jasmine
  5. 9:27Syntax and core features
  6. 14:21The TDD approach
  7. 16:17Vanilla JS testing
  8. 19:18Jasmine with ruby
  9. 21:02Testing with jquery
  10. 25:07Integration with rails
  11. 26:30Evergreen for automation
  12. 28:25CoffeeScript integration
  13. 31:18Headless CI testing
  14. 33:26Advanced tools and tips
  15. 36:37Conclusion and Q&A
~/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.