jenkins - How would you run jasmine tests on a CI environment *without nodejs* -


i have bunch of jasmine tests run on jenkins ci server.

at moment, use html page runs specs, developper can open in browser on own machine. transition ci easy if had access kind of server side test runner (like karma), undisclosable reasons, can not run nodejs on our ci server.

so in spirit of creativity-under-constraints, use automate jasmine tests without node ? (but can run maven , jdk fine...)

you can make test automatically spawn browser page runs unit test. tricky part tough result main test runner. solution have found use custom jasmine reporter (you need implement same function has other reporter) , when spec has finished run ajax call write result in file. main runner needs wait until written in file see results. once test finish, don't forget kill browser, otherwise ci server flooded window.


Comments