-
Notifications
You must be signed in to change notification settings - Fork 146
Running tests
danlucraft edited this page Dec 28, 2011
·
2 revisions
First, follow the "Installing from source for development" instructions in Installation.
To run all specs:
$ rspec plugins/*/spec/
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
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.