wa11a
wa11a

Reputation: 181

how to run nodeunit tests with reports on Jenkins

Im trying to find a way to run nodeunit tests on Jenkins and sow the results. up until now ive only found how to do it with mocha and other framework and not with nodeunit. is there a plugin or jenkins or something that i should do ?

Thanks

Upvotes: 0

Views: 222

Answers (1)

wa11a
wa11a

Reputation: 181

Iv'e figured it out. you can run the tests using:

nodeunit test/ --reporter junit --output ./output_dir

and then configure jenkins to publish those junit xmls.

Upvotes: 0

Related Questions