alex, capybara lets you test the full stack through a browser. you can automate something like this
visit '/' page.should have 'sign up' click 'sign up' fill in 'username' with 'john' fill in 'password with '123456' click button 'submit' should be redirected to '/' page should have 'signed up successful' since it uses the chrome engine, i can still use it through ruby, but i was hoping something might integrate with mocha. On Sunday, January 12, 2014 1:48:52 PM UTC-5, Alex Kocharin wrote: > > Scott, > > No idea what capybara is, but I'm using mocha and quite happy with it. > > If you define what you expect from a test tool, there might be more useful > answers. > > > -- > // alex > > 12.01.2014, 22:46, "Scott Whitman" <[email protected] <javascript:>>: > > I am just getting started with node and express. In ruby/rails my test > suite was test.unit/minitest, rspec, factory girl, and capybara. > > > > For node, I have found mocha and chai that look promising. Is there > anything like factory girl and capybara that works on node/express? Is > there any other software i should check out? > > > > Thanks, > > Scott > > > > -- > > -- > > Job Board: http://jobs.nodejs.org/ > > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > > You received this message because you are subscribed to the Google > > Groups "nodejs" group. > > To post to this group, send email to [email protected]<javascript:> > > To unsubscribe from this group, send email to > > [email protected] <javascript:> > > For more options, visit this group at > > http://groups.google.com/group/nodejs?hl=en?hl=en > > > > --- > > You received this message because you are subscribed to the Google > Groups "nodejs" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] <javascript:>. > > For more options, visit https://groups.google.com/groups/opt_out. > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
