{"adoption": {"forks": 87, "observed_at": "2026-08-28T04:03:47.308993+00:00", "stars": 1153}, "canonical_url": "https://ross.abutalabs.com/products/daggermock", "card": {"archived": false, "artifact_type": "library", "description": "A JUnit rule to easily override Dagger 2 objects", "domain": ["testing", "android-tools", "developer-tools"], "enriched": true, "function": ["testing", "mocking"], "health_score": 20, "homepage": null, "language": "Java", "license": "Apache-2.0", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["fabioCollini/DaggerMock"], "name": "fabioCollini/DaggerMock", "platform": ["jvm"], "pushed_at": "2023-02-01T09:31:05+00:00", "repo": "fabioCollini/DaggerMock", "stars": 1153, "tags": ["dagger2", "junit-rule", "mockito", "espresso", "dependency-injection-testing", "android"], "topics": ["dagger", "junit-rule", "android", "testing", "mockito", "espresso"], "urls": [], "use_cases": ["override dagger 2 dependencies in junit tests", "mock objects injected by dagger in android tests", "unit test android services using mockito and dagger", "replace dagger module providers with mocks without test modules", "write espresso tests with mocked dependencies"], "what_it_is": "DaggerMock is a JUnit rule that makes it easy to override Dagger 2 provided objects with Mockito mocks in Java or Kotlin tests. It scans @Mock-annotated test fields and substitutes them into the Dagger component, avoiding the need for custom TestModules and TestComponents.", "when_to_avoid": ["you use Hilt or Koin instead of Dagger 2", "you need a maintained solution - the project is in maintenance mode", "you need to mock static or null fields, which are unsupported"], "when_to_choose": ["you use Dagger 2 with JUnit and want simple mock overrides", "you want to avoid boilerplate TestModule/TestComponent setup in tests", "you write Android tests in Java or Kotlin with Mockito"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/daggermock", "repo": "fabioCollini/DaggerMock", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:47.308993+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:33:27.696270+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "89eb1719d7a1fa8763540c155918417c13f61168bf04e1a73bfccb0a9279e9be", "fetched_at": "2026-08-28T04:03:47.308993+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fabioCollini/DaggerMock"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:47.308993+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:33:27.696270+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "89eb1719d7a1fa8763540c155918417c13f61168bf04e1a73bfccb0a9279e9be", "fetched_at": "2026-08-28T04:03:47.308993+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fabioCollini/DaggerMock"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:33:27.696270+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "89eb1719d7a1fa8763540c155918417c13f61168bf04e1a73bfccb0a9279e9be", "fetched_at": "2026-08-28T04:03:47.308993+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fabioCollini/DaggerMock"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:47.308993+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:47.308993+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:47.308993+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:33:27.696270+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "89eb1719d7a1fa8763540c155918417c13f61168bf04e1a73bfccb0a9279e9be", "fetched_at": "2026-08-28T04:03:47.308993+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fabioCollini/DaggerMock"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:47.308993+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:47.308993+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:33:27.696270+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "89eb1719d7a1fa8763540c155918417c13f61168bf04e1a73bfccb0a9279e9be", "fetched_at": "2026-08-28T04:03:47.308993+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fabioCollini/DaggerMock"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:47.308993+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:47.308993+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:47.308993+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:33:27.696270+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "89eb1719d7a1fa8763540c155918417c13f61168bf04e1a73bfccb0a9279e9be", "fetched_at": "2026-08-28T04:03:47.308993+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fabioCollini/DaggerMock"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:47.308993+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:47.308993+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:33:27.696270+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "89eb1719d7a1fa8763540c155918417c13f61168bf04e1a73bfccb0a9279e9be", "fetched_at": "2026-08-28T04:03:47.308993+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fabioCollini/DaggerMock"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:33:27.696270+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "89eb1719d7a1fa8763540c155918417c13f61168bf04e1a73bfccb0a9279e9be", "fetched_at": "2026-08-28T04:03:47.308993+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fabioCollini/DaggerMock"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:33:27.696270+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "89eb1719d7a1fa8763540c155918417c13f61168bf04e1a73bfccb0a9279e9be", "fetched_at": "2026-08-28T04:03:47.308993+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fabioCollini/DaggerMock"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:33:27.696270+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "89eb1719d7a1fa8763540c155918417c13f61168bf04e1a73bfccb0a9279e9be", "fetched_at": "2026-08-28T04:03:47.308993+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fabioCollini/DaggerMock"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3902, "days_push": 1309, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}