-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yadda & mocha & express #62
Comments
To clarify - are you testing an expressjs application with mocha + yadda? |
yes, is'it possible ? |
Yes, it's possible. You just need to start express from your mocha tests, then make http requests to the server from inside your step definitions. I've added an example here The example is RESTful. If you want to do web application testing (i.e. navigating a web ui) then you should look at one of the other frameworks designed for this such as casper, webdriver or zombie. There are already examples for using Yadda with these. You could also take a look at nightwatch. I haven't added an example for this yet, but it's on my todo list. |
It's very great . Thank you very much |
I search an example with yadda + mocha + expressjs.
Is yadda users could share an example ?
Ami44
The text was updated successfully, but these errors were encountered: