Skip to content
This repository has been archived by the owner on Apr 16, 2022. It is now read-only.

Latest commit

 

History

History
53 lines (35 loc) · 1.27 KB

README.textile

File metadata and controls

53 lines (35 loc) · 1.27 KB

Transition.js 2.0

Detangled in-browser web application testing.

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

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

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