Testable JavaScript                            Sapporo.jsRubySapporoNight vol.14   (Ryunosuke SATO)
Community for people who like JavaScript.      Sapporo.js
Sapporo.jshttp://sapporojs.org
It’s my feature
Testable JavaScript                            Sapporo.jsRubySapporoNight vol.14   (Ryunosuke SATO)
?   ?Test
In browser
difficult
?  ?why
design
(^q^)
‘‘
http://blog.nodejitsu.com/scaling-isomorphic-javascript-code                          : https://gist.github.com/1362110
http://documentcloud.github.com/backbone/
http://emberjs.com/
Testable
http://tasklist-demo.herokuapp.com/source: https://github.com/tricknotes/task-list
(demo)    http://tasklist-demo.herokuapp.com/source: https://github.com/tricknotes/task-list
‘‘
TaskTaskView                  TotalView
ViewModel        publish                    subscribe                                TotalView   Task        publish   sub...
Unit Test
ViewModel        publish                    subscribe                                TotalView   Task        publish   sub...
http://visionmedia.github.com/mocha/
Unit Test
Unit Testusing: mocha( http://visionmedia.github.com/mocha/ ) expect.js( https://github.com/LearnBoost/expect.js )
Acceptance Test
ViewModel        publish                    subscribe                                TotalView   Task        publish   sub...
http://zombie.labnotes.org/
Acceptance Test
Acceptance Testusing: mocha( http://visionmedia.github.com/mocha/ ) expect.js( https://github.com/LearnBoost/expect.js ) z...
Ruby         JavaScript   TestUnit        QUnit                   jasmine    RSpec                    mochacapybara-webkit...
Ruby         JavaScript  cucumber       cucumber                 should.jsRSpec(matcher)                 expect.js        ...
http://www.flickr.com/photos/ku_photodigital/6309174528
Testable JavaScript
Testable JavaScript
Testable JavaScript
Testable JavaScript
Testable JavaScript
Testable JavaScript
Testable JavaScript
Testable JavaScript
Testable JavaScript
Testable JavaScript
Testable JavaScript
Testable JavaScript
Testable JavaScript
Testable JavaScript
Testable JavaScript
Testable JavaScript
Testable JavaScript
Testable JavaScript
Testable JavaScript
Testable JavaScript
Testable JavaScript
Testable JavaScript
Upcoming SlideShare
Loading in...5
×

Testable JavaScript

5,278
-1

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
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×