Running rest server while performing mocha tests

20 views
Skip to first unread message

Blake McBride

unread,
Jan 26, 2015, 11:16:52 AM1/26/15
to jenkins...@googlegroups.com
Greetings,

I have a rest server written with node.  I don't have a client, but I do have mocha tests.  The problem is that the server must be running for the tests to run.  There are two processes.

I am running Jenkins on a Windows box because of some other requirements.

Basically, I need to start the server, wait for it to run some initialization code and come up, run the mocha tests for Jenkins reporting, and then shutdown the server (that I am testing).

Can I do that on a Windows / Jenkins environment?  If so, how?

Thanks!

Blake McBride

Reply all
Reply to author
Forward
0 new messages