SFJS 6-19-2012

1,294 views

Published on

My talk about how awesome OSS has been for the WD.js Node.js webdriver client.

Published in: Technology, Sports
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,294
On SlideShare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • SFJS 6-19-2012

    1. 1. WD.js Functional Testing with Node@admc
    2. 2. ME: GITHUB.COM/ADMC• OSAF 2007, released Windmill Project• Slide 2008, released WatiN, FlexPilot• Mozilla 2009, released MozMill• Sauce Labs 2010 - 2012• Se Builder, FlexPilot• Jellyfish, WD
    3. 3. JS Test StackTest Stack Manual, otherwise still not impressed. WebDriver: WD (pronounced wood), WebDriverJS, webdriver-js Zombie.js, Phantom, Tobi QUnit Jasmine Vows Mocha
    4. 4. Jellyfish• run JS everywhere• headless & browsers• one library, easy install• mobile• over zealous
    5. 5. WD.js, why?• small project• node.js -> web driver• 3 methods• easy to install (npm rocks)
    6. 6. Open Source ROCKS! <-- Thanks! (minus me) :)
    7. 7. Contributions• code organization• json wire protocol methods• leak detection• chaining, parallelization• documentation• tests (for realz) - wanna see?
    8. 8. Ecosystem• node-wd-sync: sync version of WD.js• node-wd-zombie: WD.js API for Zombie.js • both support coffeescript• parallel-wd: multiple browser configs• burnout: async, chainable, dry- library• wd-unit: runner for jasmine, qunit (in progress)
    9. 9. Zombie.js• 2001, I helped save lost pets• code sample• fast!• frustrating API• project needs attention
    10. 10. DEMO- LPN: JS, Coffee- Guinea-pig: JS, Coffee- WD-Sync: Parallel and Non
    11. 11. Test Writing is :-(• github.com/admc/sebuilder • (FF extension)• plugin architecture in progress• WD exporter in progress• will help speed up the process
    12. 12. Lessons• abstract locators• pre-run with headless• parallelize• continuous integration• holy grail
    13. 13. The Holy Grail
    14. 14. All the LinksWD.js: https://github.com/admc/wdParallel-WD: https://github.com/OniOni/parallel-wdNode-WD-Sync: https://github.com/sebv/node-wd-syncNode-WD-Zombie: https://github.com/sebv/node-wd-zombieMocha: http://visionmedia.github.com/mochaVows: http://vowsjs.org/QUnit: http://docs.jquery.com/QunitZombie.JS: https://github.com/assaf/zombieSe-Builder: http://www.sebuilder.comSelenium/WebDriver: http://seleniumhq.org/Selenium Grid: http://selenium-grid.seleniumhq.orgBurnout: https://github.com/cdata/burnout
    15. 15. Thanks! Questions?@admc

    ×