Git Product home page Git Product logo

firebug-test-runner's Introduction

Firebug Test Runner

This module intends to automate the process of running the Firebug tests which can be downloaded and installed here The module examines data stored by the Firebug team in a file on their servers to determine which versions of the Firebug tests to run against which versions of Firefox. The module then downloads the latest tinderbox builds of those Firefox versions, runs the tests and sends the results to the specified database.

Installation

Dependencies

The Firebug Test Runner uses lxml which requires the following packages to be installed: python-dev, libxslt1-dev and libxml2

On Debian

sudo apt-get install python-dev libxml2 libxslt1-dev

On OSX (package names may be slightly different)

sudo port install python-dev libxml2 libxslt1-dev

On Windows it is a bit trickier. I'd recommend installing the executable directly

Install from distribute

Make sure you have distribute installed

easy_install pip
pip install runFBTests

Into a virtualenv of course! :)

Install from source

From the repo root and into a virtualenv, simply run:

python setup.py install

Or if you are doing development work and don't want to run the above command everytime you make a change:

python setup.py develop

Usage

There are two parts to the Firebug-Test-Runner, a runner and an updater.

Running Tests

The runner takes a serverpath as an argument and runs the tests found on that server. The server has to be set up in a certain way (which is where the updater comes in). By default the server is http://getfirebug.com

To run the tests use:

runFBTests --serverpath server_url --couch couch_server --database database_name

For a full list of commands use:

runFBTests --help

Updating Tests

It is perfectly fine to use http://getfirebug.com as the server, but you may want more control over which test versions are run and so you may wish to set up your own server.

On this server you need to run the updateFBTests script to pull the latest repos and tests from the firebug repository. It will ensure that the correct versions of Firebug are run against the correct versions of the tests.

Use:

updateFBTests -d path_to_document_root

For more options run:

updateFBTests --help

Results

Current results of three VM's running this module are posted here: http://getfirebug.com/testresults?dburi=http://firebug.couchone.com

firebug-test-runner's People

Contributors

ahal-test avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

ctalbert iamphd

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.