Testing Plugins

Assert valid asset
Enhanced version of Assert Valid Markup Plugin that also validates css files, has a better caching policy, can be configured to work behind a proxy and can be turned off via an environment variable.
Rating: 2/5 (4 votes)
Added on 14 Apr 2006
Assert valid markup
Validate your (X)HTML against the W3C Validator web service (http://validator.w3.org/) from within your functional tests. If anything changes to invalidate your markup, you'll know pronto. Responses from the web service are cached, so your tests aren't slowed down unless something has changed.
Rating: 4/5 (5 votes)
Added on 14 Apr 2006
Export fixtures
Tasks to export your data into fixtures.
Rating: 5/5 (2 votes)
Added on 14 Apr 2006
AR Fixtures
Make Fixtures or Dump/Load Reference Data
Rating: 4/5 (5 votes)
Added on 14 Apr 2006
Assert accessible
Check Accessibility of Pages in Functional Tests
Rating: 0/5 (0 votes)
Added on 14 Apr 2006
Responsible markup
Tests for valid markup, unobtrusive Javascript, doctypes, content types, and much more!
Rating: 2/5 (3 votes)
Added on 14 Apr 2006
Selenium on rails
Provides an easy way to test Rails application with Selenium.
Rating: 3/5 (7 votes)
Added on 14 Apr 2006
Selenium testing
This plugin extends the rails testing framework to allow you to write Selenium tests in the same way as unit and functional tests. This plugin has been replaced by selenium_jelly: http://svn.viney.net.nz/things/rails/plugins/selenium_jelly
Rating: 3/5 (7 votes)
Added on 14 Apr 2006
RJS Assertions
Provides assert_rjs_tag method for your test cases. Mimics assert_tag syntax and functionality on RJS templates.
Rating: 4/5 (4 votes)
Added on 28 Apr 2006
RailsTidy
Validates templates, tests html ouput and format output with libtidy.
Rating: 3/5 (6 votes)
Added on 28 Apr 2006
Rails rcov
Find your tests' blind spots easily with Mauricio Fernandez's rcov code coverage tool and this set of dynamic Rake tasks.
Rating: 4/5 (33 votes)
Added on 27 May 2006
ARTS Plugin - Another RJS Testing System
Adds the 'assert_rjs' method, allowing you to test all of your rjs interactions with the same syntax as rjs calls themselves (page.visual_effect)
Rating: 4/5 (9 votes)
Added on 29 May 2006
Upload mock
A plugin that gives you a quick way to fake a file upload in your tests
Rating: 4/5 (6 votes)
Added on 31 May 2006
RSpec on Rails
Allows you to use RSpec (http://rspec.rubyforge.org) with Rails.
Rating: 5/5 (19 votes)
Added on 9 Jun 2006
Growl Tests
Causes failures and errors to be reported via the Growl notification framework on Mac OS X.
Rating: 3/5 (2 votes)
Added on 10 Jun 2006
Testcase - Setup and Teardown with Blocks
This implementation of setup and teardown in test cases makes use of blocks, rather than full methods, allowing multiple setups and teardowns.
Rating: 4/5 (7 votes)
Added on 3 Jul 2006
TestableLogger
Testable Logger lets you assert that messages were (or were not) written to the application's log file during a test case.
Rating: 5/5 (5 votes)
Added on 5 Jul 2006
Assert Select
Adds the assert_select method so you can use CSS-like selectors to test HTML pages. Keeps you functional tests DRY and simple.
Rating: 4/5 (8 votes)
Added on 9 Jul 2006
Hpricot Forms
Provides functionality similar to HtmlUnit, allowing tests to load pages, fill out form fields, etc.
Rating: 4/5 (2 votes)
Added on 24 Jul 2006
TestInjector
Dynamically adds tests for your model relations.
Rating: 1/5 (5 votes)
Added on 31 Jul 2006
Plugin Test Kit
This lovely little beet gives you the power to test your plugins with as little hassle as a Rails application. Just install, generate, use.
Rating: 4/5 (2 votes)
Added on 9 Aug 2006
Active Test
ActiveTest atomizes tests and meta-programs them to be quicker to write, easier to read. Makes testing Rails-friendly.
Rating: 4/5 (5 votes)
Added on 15 Aug 2006
Mocha
Mocking and stubbing of class and instance methods on concrete classes.
Rating: 4/5 (19 votes)
Added on 16 Aug 2006
All Fixtures
Provides one-liner to load all your fixtures.
Rating: 5/5 (2 votes)
Added on 22 Aug 2006
assert_required
You can use assert_required to keep your unit tests DRY.
Rating: 4/5 (3 votes)
Added on 25 Aug 2006
Tesly Reporter
Adds automatic reporting of test results to Tesly (http://www.tesly.com/)
Rating: 0/5 (0 votes)
Added on 27 Aug 2006
Watir on Rails
Generate, develop, and run Watir tests from Rails.
Rating: 4/5 (3 votes)
Added on 7 Sep 2006
Cache Test
assertion for testing your page, action and fragment caching logic
Rating: 4/5 (2 votes)
Added on 5 Oct 2006
Form Test Helper
Lets you test filling out and submitting a form. No more silent breakage because your form and tests are decoupled!
Rating: 5/5 (2 votes)
Added on 25 Oct 2006
ActiveTest Authentication
An example, but fully functional, plugin for ActiveTest which allows you to test both sides of being logged in.
Rating: 3/5 (1 vote)
Added on 19 Nov 2006
ActiveTest Authorisation
An example, but fully functional, plugin for ActiveTest which allows you to test both sides of user permissions.
Rating: 3/5 (1 vote)
Added on 19 Nov 2006
RSpec Autotest
Automatically add RSpec tests to your Rails project.
Rating: 4/5 (2 votes)
Added on 21 Nov 2006
Html Test
An API for HTML validation and link checking in your functional and integration tests. A command line script for HTML validation and link checking over HTTP is included.
Rating: 0/5 (0 votes)
Added on 27 Dec 2006
FixtureScenarios
This plugin allows you to create "scenarios" which are collections of fixtures and ruby files that represent a context against which you can run tests.
Rating: 5/5 (3 votes)
Added on 4 Jan 2007
Migration Test Helper
Adds helper methods to Test::Unit::TestCase for asserting the current state of the schema and executing migrations against the test database
Rating: 5/5 (1 vote)
Added on 27 Jan 2007
Memory Test Fix
A simple fix to run tests with sqlite.
Rating: 4/5 (8 votes)
Added on 15 Feb 2007
fixture_references
Adds support for referencing external fixtures (by name) from within a fixture definition.
Rating: 4/5 (4 votes)
Added on 8 Apr 2007
Selenium RC
Allows you to test your apps using selenium to traverse your web pages, with minimum fuss.
Rating: 3/5 (2 votes)
Added on 15 Apr 2007
Contentful
Makes it easy to write tests that compare the HTML content of rendered views against expected content stored in files, and to create, compare against, and update that expected content.
Rating: 0/5 (0 votes)
Added on 8 May 2007
Test Spec on Rails
This plugin contain some helpers to test your Rails app using test/spec.
Rating: 4/5 (7 votes)
Added on 14 May 2007
UseDb
Use, test, and migrate multiple databases
Rating: 5/5 (5 votes)
Added on 30 May 2007
preload_fixtures
Preloads ALL fixtures to increase test performance
Rating: 4/5 (7 votes)
Added on 30 May 2007
fixture
Fixture combines the benefits of standard fixture files with the benefits of mocking/stubbing.
Rating: 0/5 (0 votes)
Added on 10 Jun 2007
test_helpful
To make test easier, this plugin: # Add support for Functional Matrix Test # Add a assert_form method for TestCase # Add a create method for TestCase
Rating: 4/5 (1 vote)
Added on 22 Jun 2007
migrate_test_db
Uses migrations to generate the test database in rake test commands.
Rating: 5/5 (3 votes)
Added on 12 Jul 2007
colorized_test
Very simple plugin to add colorization to test tasks. Works both with rake tests and individual tests run using ruby.
Rating: 3/5 (1 vote)
Added on 19 Jul 2007
Test Injector
Automatically inject tests for ActiveRecord models
Rating: 0/5 (0 votes)
Added on 27 Jul 2007
Selenium jelly
This plugin provides nice integration between Selenium-RC and Rails.
Rating: 5/5 (2 votes)
Added on 28 Jul 2007
active_mocks
based on flexmock, makes mocking active record objects quick and easy. Supports easy mocking of first level associations.
Rating: 0/5 (0 votes)
Added on 29 Jul 2007
Test exemplars
A better way of dealing with fixtures
Rating: 5/5 (1 vote)
Added on 8 Aug 2007
spider_test
SpiderTester is an automated integration-testing script that iterates over every page in your application.
Rating: 3/5 (4 votes)
Added on 19 Sep 2007
dry_validity_assertions
Provides helper methods for testing the validity of ActiveRecord objects.
Rating: 0/5 (0 votes)
Added on 27 Sep 2007
plugin_test_helper
Simplifies plugin testing by creating an isolated Rails environment that simulates its usage in a real application.
Rating: 0/5 (0 votes)
Added on 27 Sep 2007
Run tests on deploy
A Capistrano 2.0 extension that runs 'rake tests' before deploy:symlink
Rating: 0/5 (0 votes)
Added on 19 Oct 2007
Scenarios
Scenarios are a drop in replacement for YAML fixtures. Instead of encouraging you to create a mindless amount of raw data in the form of YAML, scenarios encourage you to create code that populates your tables with the appropriate records.
Rating: 5/5 (1 vote)
Added on 19 Oct 2007
Test Helpers
The test_helpers plugin makes it easy to DRY up your test cases by moving shared code into modules. It includes the handy dandy “test_helper� class method to make requiring and including a snap.
Rating: 0/5 (0 votes)
Added on 19 Oct 2007
Abstract Test Cases
The abstract_testcases plugin makes it easy to create abstract test cases that don’t complain about tests not being defined. If you’d rather not go the module route, this is the plugin for you.
Rating: 0/5 (0 votes)
Added on 19 Oct 2007
No Peeping Toms
Disables observers during testing, allowing you to write model tests that are completely decoupled from the observer. Also lets you enable observers for a certain block of code, so that you can write observer tests
Rating: 5/5 (3 votes)
Added on 22 Nov 2007
Webrat
Ruby Acceptance Testing for Web applications
Rating: 5/5 (8 votes)
Added on 5 Dec 2007
RSpec on rails matchers
Provides with custom matchers for RSpec.
Rating: 5/5 (2 votes)
Added on 3 Jan 2008
vizres (response_visualizer)
Enables rendering of the body of an HTTP response from inside a functional test. This makes it easy to diagnose problems when building assert_select statements or just sanity check the output of the test.
Rating: 0/5 (0 votes)
Added on 9 Jan 2008
Flashback
Ever wanted to test Flash.now variables from your functional tests, without requiring an assert_tag? Me, too! Now you can.
Rating: 5/5 (1 vote)
Added on 17 Jan 2008
NullDB
NullDB is the Null Object pattern as applied to ActiveRecord database adapters.
Rating: 5/5 (1 vote)
Added on 19 Feb 2008
RSpec Haml Scaffold Generator
This is a drop in replacement for the generic RSpec scaffolding generator. Haml support and extra features have been added.
Rating: 5/5 (4 votes)
Added on 11 Mar 2008
Laziness
Laziness autogenerates tests for you when your app throws an unhandled exception.
Rating: 0/5 (0 votes)
Added on 19 Mar 2008
assert_xpath
very high precision testing of generated HTML contents, via Hpricot, LibXML, or REXML
Rating: 3/5 (1 vote)
Added on 17 Apr 2008
Railscheck (rails gem)
A semi-static verifier for your Ruby on Rails projects. Can find many typical bugs and inconsistencies.
Rating: 0/5 (0 votes)
Added on 19 Apr 2008
StepSpecr
StepSpecr is a Rails plugin intended to be used with Rspec User Stories. It provides a 'testing' framework for speccing Given/When/Then steps within Rspec examples. This lets you implement GWT-steps the BDD way.
Rating: 0/5 (0 votes)
Added on 21 Apr 2008
garlic
Lightweight set of rake tasks to aid in continuous integration
Rating: 0/5 (0 votes)
Added on 24 Apr 2008
OutputCatcher
OutputCatcher provides a way to capture the standard out ($stdout) or standard error ($stderr) of your code without pain and suppresses the output of the 'err' or 'out' stream.
Rating: 0/5 (0 votes)
Added on 26 May 2008
ModelFactory
ModelFactory is a Rails plugin that provides an easy way to create models for testing purposes.
Rating: 0/5 (0 votes)
Added on 30 May 2008
Foxify Fixtures
Refactor test fixtures so that they're foxy (name-based rather than id-based)
Rating: 0/5 (0 votes)
Added on 12 Jun 2008
Tobi Test Timer
Adds Timing and Failure and Error notification as soon as they occur.
Rating: 5/5 (3 votes)
Added on 28 Jun 2008
single test
Run single/specific tests or specs rake spec:users_con rake spec:user:'should create'
Rating: 5/5 (1 vote)
Added on 6 Jul 2008
RSpec Response Enhancer
Enhace the output of response tests (response.should have_been_success) to give more information on the cause of failure.
Rating: 5/5 (1 vote)
Added on 6 Jul 2008
Add a plugin

Search Plugins

Query syntax

Plugins by Category

Sponsors

Rails Kits: Get Code. Get Moving.
Recruiting software

Have a comment?