Running Jasmine on the Jenkins CI Server

I would like to run jasmine for our Ruby on Rails client side on a Jenkins CI server machine using rake jasmine:ci . Ideally, I would like him to not use any browser, otherwise, if I try to start it with firefox v21 installed, he will not be able to get a connection (I think this is a known problem).

So, to summarize my short questions:

  • Is there a stable way to run it without calling a browser?
  • Does anyone know if the problem with firefox has been resolved?
  • I believe that JASMINE_BROWSER can control which browser will be used, but I could not find instructions on what its legal meanings are.
+4
source share
1 answer

Have you thought about using phantomjs? This will allow you not to call the browser. Looks like this guard-phantomjs-jasmine on Github has the ability to work with jasmine. The documentation has a user interface for CI. Hope this helps!

0
source

Source: https://habr.com/ru/post/1486988/


All Articles