I am working on a node.js + express application.
And what I am trying to do is defining a strong test base to work with.
So I read this really nice article which explains how to develop a simple application with ruby on rails.
And I read the following lines of code which inspired me a lot :
visit signup_path
fill_in "Name", with: "Example User"
fill_in "Email", with: "user@example.com"
fill_in "Password", with: "foobar"
fill_in "Confirmation", with: "foobar"
click_button "Create my account"
So here I come to the point. Is there a way to write a similar piece of code using node.js and its dependencies ?
I am currently using mocha 1.x, should 1.2.x and supertest 0.6.x but they didn't seems to fit my needs.