Testing Node.js Code

Quick testing overview  (Jesse Streb)

  • TDD vs BDD
  • Unit vs Integration test

Frameworks

  • Mocha - (Jesse Streb)
  • qUnit - (Gleb Bahmutov)
  • Casper (Tyler Renelle)
  • Jasmine (Daniel Rinehart)

Code coverage (Daniel Rinehart)
Discussion points

  • How does selenium fit in?
  • headless vs browser?

Join or login to comment.

  • Robert Hall

    I couldn't make it, but I'd love to watch a video/slideshow. Was there any takeaway?

    November 15

    • Daniel Rinehart

      Automated testing is good, just do it, doesn't matter what framework you use as all are capable. Istanbul is an awesome tool for code coverage.

      November 15

  • Nate Morse

    Good variety pack of presentations.

    November 15

  • Jesse Streb

    I too would be very interested in seeing a talk on this. I have been using Jasmine for my unit tests and Jasmine+Phantom for my integration tests; curious to hear more about others experiences. If we have members with experience in a subset of these frameworks perhaps we could break up the presentation into a different speaker for the each framework. Something like 15 min. for a short overview of each. If you have experience in any of these frameworks and are willing to present, please chime in.

    September 19

    • James Morrin

      I have been running tests in phantom, and more recently I have started using selenium web driver in node to run tests cross browser and in parallel.

      September 30

    • gleb bahmutov

      I've been using qunit+phantomjs, and this weekend wrote my own framework to mimic qunit but be compatible with Istanbul JS coverage module. Could show that.

      October 29

  • Jeff Whelpley

    I like The topic of TDD more than hosting. I vote to keep it as is.

    October 29

  • Tyler Renelle

    Two "oh crap"s about this meetup:

    1) I accidentally put it on the 14th, which is the 2nd Wed of Nov (we usually do 3rd). Shall I update to the 21st, or just leave it since a buncha people RSVP'd?

    2) Tim knows Jasmine, I know Casper, but not many have chimed in on other bits for comparison. We *could* introduce the general concept of TDD/BDD using Jasmine & Casper as the vehicle, that's an option. We could alternatively do a different topic: Node.js PaaS and hosting comparisons (Heroku, NodeJistu, Nodester, EC2, etc). Tim put up a Poll at http://www.meetup.com/Node-js-i..., let's have a vote!

    October 18

    • Tim Walling

      I believe I moved it to the 14th because that 3rd Wed is Thanksgiving week and we thought it was better to have it the week before.

      October 18

    • Tyler Renelle

      ah, yes

      October 18

  • Tyler Renelle changed the date and time from Wednesday, June 19, 2013 at 8:52 PM to Wednesday, November 21, 2012 at 7:00 PM

    September 26

  • Tyler Renelle

    Adding date as next meeting after framework smackdown? (3rd wed Nov). just suggestion, feel free to change

    September 26

  • Tyler Renelle changed the location to Brightcove Office

    September 26

People in this
Meetup are also in:

Log in

Not registered with us yet?

Sign up

Meetup members, Log in

or
By clicking the "Sign up using Facebook" or "Sign up" buttons above, you agree to Meetup's Terms of Service