A cleaner and DRYer alternative to mocking and stubbing with RSpec, using Arrange-Act-Assert syntax
Selfish "must" assertions for Test::Unit
OAuth assertion flow patch for doorkeeper
Nodule lets you declare Topologies of processes, which can be started or stopped together. You can also redirect sockets, set up interprocess communication, make assertions on captured packets between processes and generally monitor or change the interaction of any of your processes. Nodule is great for integration testing or for bringing up complicated interdependent sets of processes on a single host.
Assert shared behavior of objects easily using: assert_shared_tests :of => :some_shared_behavior
Extra assertions for minitest
Argument matcher for asserting AR object equality.
Enables the creation of scenarios that involve creating a rails project, starting and stoppping of servers, generating projects, editing files, issuing http requests, running of commands, etc. Output is captured as a single HTML file that can be viewed locally or uploaded. Additionally, there is support for verification, in the form of defining assertions based on selections (typically CSS) against the generated HTML.
Test::Unit::XML extends the Test::Unit framework with an assertion for testing well-formed XML documents
Test assertion for directories equality by tree and content comparison
Assert-methods (sugar) and a tiny DSL to facilitate testing of rack apps with Rack::Test.
Assertion library for Ruby
DIFECTS is an assertion testing library for Ruby that emphasizes a simple assertion vocabulary, instant debuggability of failures, and flexibility in composing tests.
minitest-macruby provides extensions to minitest for macruby UI testing. It provides a framework to test GUI apps in a live instance. Documentation and examples are light at the moment as I've just thrown this together. Suggestions for extensions are very welcome! Currently it provides the following methods in minitest's assertions: * self.run_macruby_tests * find_ui_menu(*path) * find_ui_menu_items menu * assert_ui_menu menu, *items * find_ui_menu_item(*path) * assert_ui_action obj, target, action, key = nil * assert_ui_binding item, binding_name, target, path
Use Minitest assertions with keyword arguments
A Ruby gem to get really clean asserts
Assert iOS version string updated. Danger plugin.
BigBro provides view helpers to generate Analytics code (with the noscript counterpart), test helpers to assert your page contains the tracking code and a configuration method to set your GA account from environment.rb
Extend your Doorkeeper implementation adding a new grant type: assertion. And decoding JWT claim messages to generate access tokens.
Lightweight library that provides easy-to-use runtime assertions for Ruby
Collects and stores your outgoing HTTP requests in NetNoop.requests for later inspection, usually in your test assertions or matchers. Can be used in conjunction with FakeWeb to disable outbound HTTP requests while also making the contents of those requests visible.
Easily handle JSON in Test::Unit
An rspec custom matcher to assert Rails action and fragment caching.
CliCase extends TestCase with macros simplifying testing command line apps written in Ruby. These macros allow to specify command line entry point, run command line and assert execution results. Works with Test::Unit or with Shoulda.
Collection of validations and complex assertions
Provides `ActiveRecord::Relation#one!`, a convenience method that asserts a relation contains exactly one record and returns it. If there are no records or more than one, an `ActiveRecord::NoRecordFound` or `ActiveRecord::MultipleRecordsFound` exception is raised, respectively.
Adds Test::Unit assertions for RSpec and Shoulda matchers
Manager test requirements, assertions, and results to create test reports.
Test::Unit assertions for Beaneater
Selenium RC with enhanced assertions that also runs your rails app.
Shoulda consists of test macros, assertions, and helpers added on to the Test::Unit framework
Gem extends the class ActiveSupport::TestCase by adding assertions to test if before filters have been applied (via before_filter or append_before_filter) or skipped (via skip_before_filter).
A gem to compare json strings to see if they are similar.
An easy-to-use test harness that runs assertions before and after and executable is run
Mongoid assertion matchers for MiniTest
Shoulda macros and more assertions for Action Mailer and ActionMailer::TestCase; now includes tests for parts.
The gem minitest-rails-assertions extends MiniTest to add some assertions to Rails tests.
Capybara-inspired testing library for emails and notifications. Query sent emails and make assertions against he and make assertions against them
Extend Kernel#p with power_assert
Provides an assertion to test for hashes equality.
Custom test-unit assertions for checking set equality and other set functions
Extend your Doorkeeper implementation adding a new grant type: assertion. And decoding JWT claim messages to generate access tokens.
make assert_select nicer
Power Assert for Petitest
An attempt to bring simple Arrange Act Assert mocking to Ruby. No strict mocks. No hassles. This is currently only an experiment from someone that knows virtually nothing about Ruby; use at your own risk!
Hash assertions
Shoulda macros and more assertions for Action Mailer and ActionMailer::TestCase; now includes tests for parts.
Fluent Assertions is a set of .NET extension methods that allow you to more naturally specify the expected outcome of a TDD or BDD-style test.
Test database level constraints with ActiveRecord
Assign requirements to TestCases and Assertions to get an overview on them.