Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Testable JavaScript

6,075 views

Published on

テスト可能な JavaScript についての発表資料です。
Ruby Sappor Night vol.14 ( http://ruby-sapporo.org/news/2012/02/01/rsn-14.html ) でお話してきました。
共演者の資料はこちら: http://snoozer05.org/?date=20120223#p01

Published in: Technology

Testable JavaScript

  1. 1. Testable JavaScript Sapporo.jsRubySapporoNight vol.14 (Ryunosuke SATO)
  2. 2. Community for people who like JavaScript. Sapporo.js
  3. 3. Sapporo.jshttp://sapporojs.org
  4. 4. It’s my feature
  5. 5. Testable JavaScript Sapporo.jsRubySapporoNight vol.14 (Ryunosuke SATO)
  6. 6. ? ?Test
  7. 7. In browser
  8. 8. difficult
  9. 9. ? ?why
  10. 10. design
  11. 11. (^q^)
  12. 12. ‘‘
  13. 13. http://blog.nodejitsu.com/scaling-isomorphic-javascript-code : https://gist.github.com/1362110
  14. 14. http://documentcloud.github.com/backbone/
  15. 15. http://emberjs.com/
  16. 16. Testable
  17. 17. http://tasklist-demo.herokuapp.com/source: https://github.com/tricknotes/task-list
  18. 18. (demo) http://tasklist-demo.herokuapp.com/source: https://github.com/tricknotes/task-list
  19. 19. ‘‘
  20. 20. TaskTaskView TotalView
  21. 21. ViewModel publish subscribe TotalView Task publish subscribe View TaskView action Testable!!
  22. 22. Unit Test
  23. 23. ViewModel publish subscribe TotalView Task publish subscribe View TaskView action
  24. 24. http://visionmedia.github.com/mocha/
  25. 25. Unit Test
  26. 26. Unit Testusing: mocha( http://visionmedia.github.com/mocha/ ) expect.js( https://github.com/LearnBoost/expect.js )
  27. 27. Acceptance Test
  28. 28. ViewModel publish subscribe TotalView Task publish subscribe View TaskView action
  29. 29. http://zombie.labnotes.org/
  30. 30. Acceptance Test
  31. 31. Acceptance Testusing: mocha( http://visionmedia.github.com/mocha/ ) expect.js( https://github.com/LearnBoost/expect.js ) zombie ( http://zombie.labnotes.org/ )
  32. 32. Ruby JavaScript TestUnit QUnit jasmine RSpec mochacapybara-webkit zombie
  33. 33. Ruby JavaScript cucumber cucumber should.jsRSpec(matcher) expect.js etc...
  34. 34. http://www.flickr.com/photos/ku_photodigital/6309174528

×