{"id":25040658,"url":"https://github.com/marcoroth/minitest-difftastic","last_synced_at":"2025-12-24T18:06:00.544Z","repository":{"id":273607565,"uuid":"920286235","full_name":"marcoroth/minitest-difftastic","owner":"marcoroth","description":"Minitest Plugin to use difftastic for failed assertions.","archived":false,"fork":false,"pushed_at":"2025-02-28T13:49:05.000Z","size":403,"stargazers_count":105,"open_issues_count":3,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-20T19:57:34.458Z","etag":null,"topics":["difftastic","minitest","minitest-plugin","minitest-plugins"],"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/marcoroth.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"marcoroth"}},"created_at":"2025-01-21T22:05:59.000Z","updated_at":"2025-10-10T21:20:22.000Z","dependencies_parsed_at":"2025-12-24T18:03:04.917Z","dependency_job_id":null,"html_url":"https://github.com/marcoroth/minitest-difftastic","commit_stats":null,"previous_names":["marcoroth/minitest-difftastic"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/marcoroth/minitest-difftastic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoroth%2Fminitest-difftastic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoroth%2Fminitest-difftastic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoroth%2Fminitest-difftastic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoroth%2Fminitest-difftastic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcoroth","download_url":"https://codeload.github.com/marcoroth/minitest-difftastic/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoroth%2Fminitest-difftastic/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28005980,"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","status":"online","status_checked_at":"2025-12-24T02:00:07.193Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["difftastic","minitest","minitest-plugin","minitest-plugins"],"created_at":"2025-02-06T03:03:37.420Z","updated_at":"2025-12-24T18:06:00.513Z","avatar_url":"https://github.com/marcoroth.png","language":"Ruby","funding_links":["https://github.com/sponsors/marcoroth"],"categories":["Ruby"],"sub_categories":[],"readme":"# Minitest::Difftastic\n\nA Minitest Plugin which uses [`difftastic`](https://github.com/Wilfred/difftastic) (via [`difftastic-ruby`](https://github.com/joeldrapper/difftastic-ruby)) to show the diffs for failing assertions.\n\nAlso works for Rails tests using `ActiveSupport::TestCase`.\n\n## Try it yourself\n\nClone this repo, run `bundle install` and then `rake examples` in your terminal.\n\n```ruby\nrake examples\n```\n\nYou will get a few failing assertions printed to your terminal.\n\n```\nFailure:\nExamples::AssertEqual#test_assert_equal [examples/assert_equal.rb:8]:\n\nExpected                      Actual\n1 \"Hello World\"               1 \"Hello Difftastic\"\n```\n\nYou can also look at the source code for the examples in the [`examples/`](https://github.com/marcoroth/minitest-difftastic/tree/main/examples) folder.\n\n## Screenshots\n\n### Integers\n\n![Integers Comparison](./screenshots/integers.png)\n\n### Strings\n\n![Strings Comparison](./screenshots/strings.png)\n\n### Objects\n\n![Objects Comparison](./screenshots/objects.png)\n\n### Nested Objects\n\n![Nested Objects Comparison](./screenshots/nested_objects.png)\n\n## Installation\n\nInstall the gem and add to the application's Gemfile `test` group by executing:\n\n```shell\nbundle add minitest-difftastic --group=test\n```\n\nIf bundler is not being used to manage dependencies, install the gem by executing:\n\n```shell\ngem install minitest-difftastic\n```\n\n## Usage\n\nThe plugin will be automatically detected and picked up by Minitest if you have it added to the Gemfile of your application.\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/marcoroth/minitest-difftastic. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/marcoroth/minitest-difftastic/blob/main/CODE_OF_CONDUCT.md).\n\n## Code of Conduct\n\nEveryone interacting in the `Minitest::Difftastic` project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/marcoroth/minitest-difftastic/blob/main/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcoroth%2Fminitest-difftastic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcoroth%2Fminitest-difftastic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcoroth%2Fminitest-difftastic/lists"}