TestRig supplies dynamic assertions and contextual failure messages
With the happy proliferation of TDD, test suites are getting massive, and developer efficiency is dwindling as we wait for our tests to pass. There is a big tradeoff between making unit test more integrationish (and therefore more reliable) vs. making them very mocky, unity and fast. Mockumentary is a library for the later. It inspects the ActiveRecord universe and makes a series of AR mockeries that approximate model without hitting the database, or making any assertions. The assertions, they are still part of the developers job. Mocumentary has two types of AR mockeries: One is used within the Rails universe. It uses introspection to derive association and field information. The second is a static copy built from the first. This static version can be used outside the Rails test universe in a suite faster than the speed of Rails environment load time. Mocking isn't for everyone, so test-drive responsibly.
`standard_assert` is a Standard Library-like library for assertions in Ruby. It is aimed at encouraging us to use assertion methods anywhere; Not only testing but also production.
An assertion for snapshot testing.
Expressive email assertions that let you succinctly describe when emails should and should not be sent
Validate HTML 5 markup in Rails tests.
Provides assertions for your Minitest suite to determine if an object has been changed.
Provides a generic factory to automatically convert RSpec matchers into assertions and expections for MiniTest::Unit and MiniTest::Spec
Assertions that run multiple times for testing functions with large domains
A small framework for testing your code. It keeps track of assertion failures as well as test failures.
Helpers for testing ActiveRecords in Assert test suites.
Allows you to assert things to be true in your code.
Easy message expectation for tests in Ruby
Assertions for working with fixtures more easily. Assertions to assert pre/post conditions concisely.
Provides assertions for minitest based on Capybara's RSpec matchers.
Defines test assertions to test against SQL queries
WebTrap allows you to write tests that assert on outgoing requests. This allows you to verify that such requests match the documentation of external services without actually having to hit them.
Fabrial makes it easy to follow the "Arrange, Act, Assert" pattern in your tests. It makes it trivial to create your test data directly inline with your tests; removing the need for hard-to-maintain fixture files or blueprints.
Asserts the versionName or versionCode strings have been changed in your Android project.
Assert rails migration safety at dev time
Spectroscope is a BDD framework built on RubyTest designed to emulate RSpec in most respects. It is assertion framework independent so any number of assertion systems can be used, such as Assay or AE.
Assertions for command line programs
Adds a handful of simple, one-liner association and validation assertions to ActiveSupport::TestCase.
Chainable assertions for MiniTest
Test helpers and assertions for chef-workflow
A collection of `I18n` assertions I use in daily life.
Assert pre-conditions and post-conditions inside methods
Minitest asserts for checking that specific emails were (or were not) sent.
Type assertion library for method arguments
Bang! Bang! provides a dynamic assertions framework utlizing bang methods and built to BRASS standards.
Monkey patches Test::Unit::TestCase to add some additional assert methods, a global database_interface object (via a class variable) and a few helper functions designed to enable plsql unit testing
nanotest extension that allows asserting using obj.must / obj.wont.
Facilitate assertions for common controller responsibilites
MiniTest assertions for ActiveModel
Assert that a DNS server returns the correct responses based on a zone file.
Shoulda macros for making very basic assertions about JSON responses
This package adds some additional assertions to Test::Unit::Assertions, including: * Assertions for all of the comparison operators (assert_greater_than, assert_less_than_or_equal_to, etc.). Shorter aliases also are provided for these (assert_gt, assert_le, etc.). * An assertion that verifies that a given block raises a specified exception with a specified message (assert_raise_message). This allows full testing of error messages. * An assertion that verifies that a given block contains an assertion that fails (assert_fail), which can be used to test new assertions.
test/spec layers an RSpec-inspired interface on top of Test::Unit, so you can mix TDD and BDD (Behavior-Driven Development). test/spec is a clean-room implementation that maps most kinds of Test::Unit assertions to a 'should'-like syntax. This is a fork of the main version to add some features and make things a bit easier for developers. It grew out of day to day use at Relevance (http://thinkrelevance.com).
Add useful JSON assertions to your Rails controller tests.
Fluidity is a test assertions framework built on top of the Assay assertions meta-framework. It provides an elegant fluid notation for specifying test assertions.
adds custom assertions to test/unit so you can test for your flog score
A neat way of asserting declarative_authorization's rules inside controller using RSpec matcher.
#TestsEx (Sharp Tests Extensions) is a set of extensible extensions. The main target is write short assertions where the Visual Studio IDE intellisense is your guide. #TestsEx can be used with NUnit, MsTests, xUnit, MbUnit. Note: This is the nunit-specific build and depends upon NUnit. For a framework-independent build, use the sharptestsex gem. For other unit test framework builds, you may use one of the following gems: [sharptestsex-xunit, sharptestsex-mstest]
Automatic Type Assertions.
Detect no assertions tests.
Get the first element from an enumerable, and assert that there is only one element to take.
Be (Behavioral expectations) is a fully versitle, light-weight and BRASS compliant assertions framework for Ruby. It utilizes an *assertor* design (*matchers* in RSpec terminology) which meshes well with BDD nomenclatures.
Assert the value of Cucumber features
Them gem will add assertions for ensuring attributes are marked protected
assertion with test unit or rspec