Running tests

danlucraft edited this page Dec 28, 2011 · 2 revisions

First, follow the "Installing from source for development" instructions in Installation.

Specs

To run all specs:

$ rspec plugins/*/spec/

Features

On OSX:

$ JRUBY_OPTS="-J-XstartOnFirstThread" jruby -S bundle exec swt_cucumber -renv.rb plugins/*/features

On Linux:

$ jruby -S bundle exec swt_cucumber -renv.rb plugins/*/features

Problems

If the tests complain about missing keyboard layouts, you can try running with the -J-Dorg.eclipse.swtbot.keyboard.layout=MAC_EN_US option in JRUBY_OPTS. The tests use a small subset of the keyboard, so depending how close your keyboard layout is to US, this may well work.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.