BugzIO / SprintRPC

@k88hudson's bugzilla app `sprinter` made to work with Bugzilla's JSONRPC instead of REST
0 stars 2 forks source link

Need grunt command to handle Travis CI #45

Open debloper opened 9 years ago

debloper commented 9 years ago

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 commented 9 years ago

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 commented 9 years ago

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).