• Stars
    star
    206
  • Rank 190,504 (Top 4 %)
  • Language
    Ruby
  • License
    GNU General Publi...
  • Created over 16 years ago
  • Updated almost 13 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This project is no longer maintained.

Celerity

<img src=“http://travis-ci.org/jarib/celerity.png” />

Description

Celerity is a JRuby library for easy and fast functional test automation for web applications.

Celerity is a JRuby wrapper around HtmlUnit – a headless Java browser with JavaScript support. It provides a simple API for programmatic navigation through web applications. Celerity provides a superset of Watir’s API.

Features

  • Fast: No time-consuming GUI rendering or unessential downloads

  • Scalable: Java threads lets you run tests in parallel

  • *Easy to use*: Simple API

  • Portable: Cross-platform thanks to the JVM

  • Unintrusive: No browser window interrupting your workflow (runs in background)

Requirements

  • JRuby 1.2.0 or higher

  • Java 6

Install

jruby -S gem install celerity

To always get the latest version, you should use Gemcutter as your primary gem source:

jruby -S gem install gemcutter
jruby -S gem tumble
jruby -S gem install celerity

Example

require "rubygems"
require "celerity"

browser = Celerity::Browser.new
browser.goto('http://www.google.com')
browser.text_field(:name, 'q').value = 'Celerity'
browser.button(:name, 'btnG').click

puts "yay" if browser.text.include? 'celerity.rubyforge.org'

Source

The source code is available on [GitHub](github.com/jarib/celerity/tree/master).

Wiki & Bug Tracker

Related projects

License

Celerity - JRuby wrapper for HtmlUnit Copyright © 2008-2012 FINN.no AS

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

More Repositories

1

google-closure-library

NO LONGER UPDATED - OFFICAL REPO MOVED TO GIT: https://github.com/google/closure-library
JavaScript
116
star
2

har

Ruby library to work with HTTP archives
JavaScript
87
star
3

ffi-xattr

Manipulate extended file attributes
Ruby
27
star
4

webidl

WebIDL parser/generator for ruby
HTML
22
star
5

anon-history

History of anonymous Wikipedia edits from governments/parliaments/power centers around the world
HTML
17
star
6

bamboo-client

Ruby client for Atlassian's Bamboo
Ruby
16
star
7

celerity-viewers

Watch your Celerity tests run
Ruby
13
star
8

vnctools

Simple Ruby CLI wrappers to control and record VNC displays.
Ruby
11
star
9

selenium-ci-dashboard

Dashboard for Selenium's CI server
JavaScript
10
star
10

plist

Fork of the plist gem with support for binary and old-style plists
Ruby
8
star
11

selenium-ci

Vagrant env for Selenium's CI
Ruby
8
star
12

nativedriver-rb

Native mobile application GUI automation
Ruby
7
star
13

spacy-nb

Scripts to build a Norwegian model for spacy
Python
7
star
14

rbcluster

Ruby bindings for the Cluster C library
C
7
star
15

selenium-travis

Intermediate repo for running selenium-webdriver tests on Travis
Ruby
6
star
16

cukeq

Abandoned project, please ignore :)
Ruby
5
star
17

loadable_component

Ruby version of http://code.google.com/p/selenium/wiki/LoadableComponent
Ruby
5
star
18

google-drive-sync

Share your Google Drive files with this daemon to have them synced to disk as JSON.
JavaScript
3
star
19

jstd-runner

Runs a JsTestDriver server + browsers with some built-in monitoring
Ruby
3
star
20

zigne

Simple JS utility to calculate statistical significance for e.g. polls.
JavaScript
3
star
21

gemrepo

simple gem server (push / install)
Ruby
3
star
22

conf

Nice idea, never finished.
Ruby
3
star
23

ffi-sybase

Ruby/FFI bindings for Sybase OCS
Ruby
3
star
24

awesomeboard

Simple NodeJS application which consists of a twitter harvester which persist tweets and an Awesome Board displaying the tweets
JavaScript
3
star
25

htmlsnap

simple html to png converter
C++
2
star
26

emma-rb

Ruby wrapper for the Emma Java library
Ruby
2
star
27

selenium-ignore-dashboard

Dashboard for ignored Selenium tests
JavaScript
2
star
28

hdo-prototype

MOVED: see http://github.com/holderdeord
JavaScript
2
star
29

pageperf

Ruby client for lightbody/browsermob-page-perf
Ruby
2
star
30

rps

Ruby Process Status
Ruby
2
star
31

watir.tmbundle

TextMate bundle for the Watir/Celerity API
2
star
32

travis-experiments

Repo to figure out what's going on with Travis
Ruby
2
star
33

migration-example

Example code from Simon Stewart's workshop at SeleniumConf
Java
2
star
34

appengine-simple

Simple Sinatra + App Engine app
Ruby
2
star
35

ordered-rating-agreement

Calculate agreement/polarization for ordered rating scales
JavaScript
1
star
36

wikipedia-edits

Import and search anonymous Wikipedia edits
JavaScript
1
star