Contents

running a local server

In order to do all sorts of wonderful things: like test ajax in browsers that don't like file:// ajax I want to be able to hit a server and see mah specs

Scenario: running the specs in a browser

@server

  • Given I am currently in the "jasmine-webapp-passing" project
  • When I run "mvn clean jasmine:bdd" in a new process
  • And I load "http://localhost:8234" in a browser
  • Then the page should contain "1 spec, 0 failures"

Source: features/server.feature at commit 0b121f71, Jasmine Maven Plugin (Apache-2.0 license).