Git Product home page Git Product logo

pyrite's Introduction

Pyrite - Easy Peasy Browser Testing

Description

Pyrite is a lightweight DSL around the Selenium browser testing framework.

We found Cucumber to be awesome, but no one was reading the features. We found Webrat to be fantastic, but way too complex for what we wanted. So, we made Pyrite - a few selenium-client methods wrapped up in a readable way.

Example

require 'pyrite_helper'
class BasicTest < Pyrite::PyriteTest
  test "it works" do
    visit root_path
    follow "next page"
    wait_for :page_load
    assert_text "some text you should see"
  end
end

Dependencies

Pyrite has no dependencies that you should have to install manually. Gem installation should pull in the necessary selenium libraries.

You will need an operating system and browser capable of running Selenium

Install

We recommend you use bundler:

gem 'pyrite', '0.5.0', :require => false

Installing as a Rails plugin should also work:

script/plugin install git://github.com/mintdigital/pyrite.git

License

Copyright © 2010 Mint Digital Ltd.

Released under the terms of the MIT License. See the MIT-LICENSE file in this directory.

pyrite's People

Contributors

rodreegez avatar rondevera avatar

Stargazers

Rajasankar avatar Maksym Kolotilkin avatar Obi Akubue avatar Jing Li avatar David Cox-Espenlaub avatar Paul Fedory avatar  avatar Trevor Menagh avatar BJ Neilsen avatar Simon Bennett avatar  avatar Conrad Taylor avatar Jason Huggins avatar Martin Sadler avatar Chip Vanek avatar Chris Johnson avatar

Watchers

Thomas Pomfret avatar John Corrigan avatar Phil Nash avatar Christopher Wilson avatar  avatar  avatar  avatar Paul Fedory avatar Noam avatar  avatar Gonzalo Banuelos avatar Andrew Hilton avatar  avatar Sandeep avatar  avatar Bradley Few avatar James Cloos avatar Bartosz Grzys avatar Tom White avatar  avatar Simon Fletcher avatar Alex Hunley avatar Derek Fogge avatar Greg Beck avatar Margo Urey avatar  avatar  avatar Kim Walker avatar Noam Sohachevsky avatar  avatar  avatar  avatar  avatar Kaye avatar Mansoor Munawar avatar  avatar  avatar  avatar Becci Salmon avatar  avatar  avatar  avatar

Forkers

hugs

pyrite's Issues

Generator

Write a generator to bootstrap setup of env, pyrite_helper, etc.

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.