{"id":15393890,"url":"https://github.com/mitchellh/minitest-mark","last_synced_at":"2025-04-15T23:52:35.881Z","repository":{"id":1667761,"uuid":"2394501","full_name":"mitchellh/minitest-mark","owner":"mitchellh","description":"Proof of concept minitest extension to add test marking.","archived":false,"fork":false,"pushed_at":"2011-09-15T19:15:27.000Z","size":96,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T05:59:26.156Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mitchellh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-09-15T18:42:32.000Z","updated_at":"2019-11-09T02:36:16.000Z","dependencies_parsed_at":"2022-09-07T03:21:05.265Z","dependency_job_id":null,"html_url":"https://github.com/mitchellh/minitest-mark","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/mitchellh%2Fminitest-mark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchellh%2Fminitest-mark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchellh%2Fminitest-mark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchellh%2Fminitest-mark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mitchellh","download_url":"https://codeload.github.com/mitchellh/minitest-mark/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249173061,"owners_count":21224481,"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-10-01T15:20:41.532Z","updated_at":"2025-04-15T23:52:35.863Z","avatar_url":"https://github.com/mitchellh.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"# minitest-mark\n\nThis is an extension to [minitest](https://github.com/seattlerb/minitest)\nwhich adds the ability to use test marking. This feature is inspired by\n[pytest's marks](http://pytest.org/latest/mark.html).\n\n\n**WARNING:** This is a _proof of concept_. It works, but is not intended --\nin its current form -- to be used for production tests.\n\n## Example\n\n### Defining And Running Marks\n\nDefine a test with some marks:\n\n```ruby\nrequire \"minitest/autorun\"\nrequire \"minitest/unit\"\nrequire \"minitest/mark\"\n\nclass MyTest \u003c MiniTest::Unit::TestCase\n  mark(\"foo\")\n  def test_things\n    assert true\n  end\n\n  mark(\"bar\")\n  def test_other\n    assert true\n  end\nend\n```\n\nRun them like normal and they'll run, like normal:\n\n    $ ruby my_test.rb\n    Started\n    ..\n    Finished in 0.000743 seconds.\n\n    2 tests, 2 assertions, 0 failures, 0 errors, 0 skips\n\nRun with `MARK` environmental variable to target only select marks:\n\n    $ MARK=foo ruby my_test.rb\n    Started\n    .\n    Finished in 0.000533 seconds.\n\n    1 tests, 1 assertions, 0 failures, 0 errors, 0 skips\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitchellh%2Fminitest-mark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmitchellh%2Fminitest-mark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitchellh%2Fminitest-mark/lists"}