github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

nakajima / screw-driver

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 17
    • 2
  • Source
  • Commits
  • Network (2)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (2)
    • master ✓
    • osascript
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

A way to automate the running of your Screw.Unit specs. — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

fixing manifest, take 2 
noahd1 (author)
Tue Mar 17 09:48:56 -0700 2009
nakajima (committer)
Tue Mar 17 13:12:31 -0700 2009
commit  234fea6df0470d803551bcf66f9b8fd49e953cc6
tree    8fc1e7907aee6d993509b6cb623c959da90509c5
parent  a0ebb7464175eeb0d6e01905bb10335a5fa115ce
screw-driver /
name age
history
message
file .gemified Loading commit data...
file .gitignore
file .manifest
file LICENSE
file README.textile
file Rakefile
directory bin/
directory js/
directory lib/
file screw-driver.gemspec
directory spec/
README.textile

Screw.Driver

Another way to run your Screw.Unit tests.

INSTALL

To build the gem, run this:

gemify -I

View the CI build

ABOUT

Still really early. To try it, run this:

./bin/screwdriver spec/fixtures/suite.html

You can specify a browser like so:

screwdriver spec/fixtures/suite.html —browser Safari

By default, Screw.Driver uses Firefox.

If you don’t want the server to automatically quit after
your suite runs, you can use the “—server” option:

screwdriver spec/fixtures/suite.html —server

Screw.Driver will generate urls for each of the external
scripts and CSS links you include in your suite.html file,
and will serve them from the directory that contains the
suite.html file.

To specify additional load paths for your JavaScripts, you can
use the “—load-paths” option:

screwdriver spec/fixtures/suite.html —load-paths src/

Using with Rails

If you’re using Rails, run screwdriver from the root directory
of your app, and specify the “—rails” option. This will cause
the Screw.Driver server to serve the JavaScript files in your
public/javascripts directory. Example:

screwdriver spec/fixtures/suite.html —rails

REQUIREMENTS
- sinatra
- hpricot
- gemify (to build)

TODO
- Inject base tag into DOM at Hpricot parsing stage
- Convert script src attributes to absolute paths at Hpricot parsing stage
- Don’t kill all Firefox tabs when complete
- Use #load_paths for Rails functionality

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server