How do I get Testee to work with Jenkins?

How do I get Testee to work with Jenkins?

I tried installing the Xvfb plugin and then run

export DISPLAY=:99
xvfb-run testee path/to/test/test.html --root root/of/donejs/app -reporter Spec --browsers firefox

But it just says Xvfb failed to start, even it looks like it did.
If I run testee without xvfb-run says it can’t find testee, even though it is installed on the server

Looking for any suggestions how to get Jenkins, running on ec2 and pulling from github, to run the tests for my donejs app.

Thanks.

We are mainly using Travis CI which comes with Firefox preinstalled and where we usually add

export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start

After that you should be able to run the normal npm test command from your DoneJS application (making sure that npm install ran before).

1 Like