An open API service indexing awesome lists of open source software.

https://github.com/kyleburton/transition.js

Detangled in-Browser Webapp Testing
https://github.com/kyleburton/transition.js

Last synced: 11 months ago
JSON representation

Detangled in-Browser Webapp Testing

Awesome Lists containing this project

README

          

h1. Transition.js 2.0

Detangled in-browser web application testing.

h1. "Documentation":http://kyleburton.github.com/transition.js/site/2.0

h1. Example

Check out the source code:


$ cd ~/projects
$ git clone https://github.com/kyleburton/transition.js.git
$ cd transition.js
$ git checkout -t origin/transition.js-2.0

Run the sample application:


$ rake todo

Browse to: "http://localhost:9292/transition/index.html":http://localhost:9292/transition/index.html

The example tests are in the file: @examples/todo-sinatra/public/test-suite.js@

h1. Getting Started

Check out the source code:


$ cd ~/projects
$ git clone https://github.com/kyleburton/transition.js.git
$ cd transition.js
$ git checkout -t origin/transition.js-2.0

In your project's document root (where ever it serves up html files from), create a symlink to the @transition.js/public@ directory


$ cd ~/projects/my-webapp/public
$ ln -s ~/projects/transition.js/public ./transition

Then you should be able to load @/transition/index.html@ from your web application.

For example, if your app is running on localhost:9292, then the following should be the correct link:


http://localhost:9292/transition/index.html