Skip to content
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

Need grunt command to handle Travis CI #45

Open
debloper opened this issue Mar 10, 2015 · 2 comments
Open

Need grunt command to handle Travis CI #45

debloper opened this issue Mar 10, 2015 · 2 comments

Comments

@debloper
Copy link
Member

The travis config needed small fix to work, but now that's out of the way we are stuck with another one.

Right now the server starts fine & Travis doesn't know what to do with the running server, so it gives error after a 10min timeout. Hence, we need to give a script in travis config, that actually expects something, and if the expectation is fulfilled, returns back with success.

@sudheesh001 a grunt test sort of command would be good enough.

@sudheesh001
Copy link
Contributor

Since i've intrgrated nightwatchjs for the testing which uses Selenium, How do I get this to work ? I've done a quick google search and hit across this https://www.npmjs.com/package/grunt-nightwatchjs

Should this be integrated ?

@debloper
Copy link
Member Author

debloper commented Apr 9, 2015

Let's try with Mocha & get things to work.

Write individual tests for hitting each CRUD operation routes in the API, and one grunt test to call them all in proper order, and return on success (currently Travis is hitting timeout for receiving no data over time, once the server is up).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants