Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Spike project for trying out Zombie.js with Jasmine.
JavaScript Shell
tree: 1245a52fe2

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
application
spec/js/acceptance
.gitignore
README.md
run-specs.js
run-specs.sh
start-application.sh
stop-application.sh

README.md

Spike project for trying out Zombie.js with Jasmine

Finally I had a chance to try out this excellent stack!

Setup

First of all, you will need node and npm.

You will need a couple of node.js modules too:

npm install zombie@0.8.6 # currently fails with newer versions
npm install html5
npm install jasmine-node
npm install express
npm install jade

Specs

To run the specs (every 3 seconds)

watch -n 3 ./run-specs.sh

Launching the application

If you are interested in manually fiddling with the application (not much to see though), you may start the server by calling

node ./application/foo-twitter-client.js

which uses port 8002 by default (may be overriden by using port= argument). Scripts

./start-application.sh
./stop-application.sh

are using port 8003 and are ment to be used by the specs only. This enables keeping the application running in isolation from the specs.

TODO

Hope you enjoy, don't forget to follow me on twitter!

Something went wrong with that request. Please try again.