Skip to content
windgazer edited this page Nov 19, 2012 · 2 revisions

Using JsTestDriver in combo with Jasmine to do BDD (or something close to it ;)). Just quickly wanted to document what I've been doing! Installed JsTestDriver plugin on Eclipse. Added jasmine-jstd-adapter to my working directory (so far I've not figured out whether I want it linked to my repo) and used the following config file for JsTestDriver:

server: http://localhost:9876

load:
  - "src/test/jasmine/lib/jasmine-core/jasmine.js"
  - "jasmine-jstd-adapter.git/src/*"  
  - "src/libs/*.js"
  - "src/core/*"
  - "src/test/js/*"

Like I said, not sure if I want it in the repo, but at least now I can find back the settings if I ever need them. Oh yeah, my project is setup as follows:

project.workdir
  |- build                    -> project build dir (eclipse-plugin generates .wgt packages here)
  |- jasmine-jstd-adapter.git -> jasmine-jstd-adapter git repo
  |_ src                      -> this project git repo

Clone this wiki locally