{"id":22980952,"url":"https://github.com/rubyworks/assay-minitest","last_synced_at":"2025-04-02T09:41:57.662Z","repository":{"id":2254120,"uuid":"3209333","full_name":"rubyworks/assay-minitest","owner":"rubyworks","description":"MiniTest Assertions and Expectations on Assay","archived":false,"fork":false,"pushed_at":"2012-12-08T16:59:03.000Z","size":184,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-10T22:58:23.987Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rubyworks.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":null,"funding":null,"license":"COPYING.rdoc","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-01-18T14:52:02.000Z","updated_at":"2013-11-28T18:26:38.000Z","dependencies_parsed_at":"2022-08-19T21:22:21.204Z","dependency_job_id":null,"html_url":"https://github.com/rubyworks/assay-minitest","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyworks%2Fassay-minitest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyworks%2Fassay-minitest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyworks%2Fassay-minitest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyworks%2Fassay-minitest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rubyworks","download_url":"https://codeload.github.com/rubyworks/assay-minitest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246793007,"owners_count":20834921,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-15T01:46:16.419Z","updated_at":"2025-04-02T09:41:57.642Z","avatar_url":"https://github.com/rubyworks.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Assay MiniTest\n\n[Homepage](http://rubyworks.github.com/assay-minitest) /\n[Source Code](http://github.com/rubyworks/assay-minitest) /\n[MailingList](http://groups.google.com/group/rubyworks-mailinglist)\n\n\n## DESCRIPTION\n\nAssay MiniTest is a compatability layer, built on top of [Assay]([http://rubyworks.github.com/assay),\nthat makes it possible for developers to use MiniTest compatible assertions\nwith any BRASS-compliant test framework. This allows developers to\nchange test frameworks without having to change a slew of previously\ndefined assertions calls.\n\nAssay MiniTest works by defining MiniTest-compatible assertion methods\nwhich in turn call on Assay's assertion classes. Assay defines assertions\nin the same way that Ruby defines exceptions. An assertion is nothing more\nthat an extended Exception class. Assay provides a complete set of these\nassertion classes for all common assertion needs. See [Assay](http://rubyworks.github.com/assay)\nproject for more information on this foundational library.\n\n\n## SYNOPSIS\n\nSimply require the `assay/minitest` script, and include the `Assay::MiniTest::Assertions` \nor `Assay::Assertions` mixin module into your tests wherever your test framework\nrequires it (which  may be as simple as the toplevel namespace).\n\n    require 'assay/minitest'\n\n    include Assay::Assertions\n\nNow assertions can be made just as if you were using MiniTest.\n\n    assert_equal(10, 5+5)\n\n    refute_kind_of(String, 10)\n\nAlternately, you can use MiniTest's expectations notation via `Assay::MiniTest::Extensions` \nor just `Assay::Extensions`.\n\n    include Assay::Extensions\n\n    (5+5).must_equal(10)\n\n    10.must_be_kind_of?(Fixnum)\n\n\n## LIMITATIONS\n\nNote that compatibility is not 100%, though it is fairly close.\nCompatibilty will improve with future releases. Please feel _obligated_\nto submit a patch, if you need a missing a feature ;)\n\n\n## INSTALLATION\n\nTo install with RubyGems simply open a console and type:\n\n    $ gem install assay-minitest\n\nSite installation with the tarball can be done with Ruby Setup\n(gem install setup). See http://rubyworks.github.com/setup.\n\n\n## COPYRIGHTS\n\nCopyright (c) 2012 Rubyworks\n\nThis program is ditributed under the terms of the *BSD-2-Clause* license.\n\nSee LICENSE.rdoc file for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyworks%2Fassay-minitest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubyworks%2Fassay-minitest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyworks%2Fassay-minitest/lists"}