Maven Archetype for Projects using JsTestDriver and Jasmine
JavaScript Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.



Maven Archetype for projects using JsTestDriver and Jasmine, including jasmine-ui.


  1. Clone the Repository
  2. Build and install the archetype via mvn clean install
  3. Generate a new JsTestDriver-Jasmine-project via mvn archetype:generate (see snippet below).
  4. Adjust the maven project property browser in the generate pom.xml

Generate new project:

mvn archetype:generate -DachetypeCatalog=local -DarchetypeGroupId=com.opitzconsulting.archetypes -DarchetypeArtifactId=jstd-jasmine-archetype -DarchetypeVersion=0.1.0-SNAPSHOT

In the generated project, you may

  • build the project with mvn clean install. This will launch the browser specified via the maven project property browser.
  • start Jetty via mvn jetty:run and then open http://localhost:8080/${project.artifactId}/UnitSpecRunner.html or http://localhost:8080/${project.artifactId}/UiSpecRunner.html.
  • make the shell scripts jstd-*.sh executable (chmod a+x *.sh) and start JsTestRunner server and the tests suites via these scripts. First start JsTestRunner server via ./ and capture at least one browser by opening http://localhost:9876/capture. Start unit tests via ./ To run the UI tests start Jetty via mvn jetty:run and the UI tests via ./