{"id":16661404,"url":"https://github.com/bodigrim/tasty-inspection-testing","last_synced_at":"2025-06-23T05:42:44.575Z","repository":{"id":39926455,"uuid":"365012530","full_name":"Bodigrim/tasty-inspection-testing","owner":"Bodigrim","description":"Integrate inspection-testing into tasty test suites ","archived":false,"fork":false,"pushed_at":"2025-01-01T23:49:00.000Z","size":13,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T03:14:03.013Z","etag":null,"topics":["compile-time-testing","tasty","testing"],"latest_commit_sha":null,"homepage":"https://hackage.haskell.org/package/tasty-inspection-testing","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Bodigrim.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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}},"created_at":"2021-05-06T19:12:00.000Z","updated_at":"2025-01-16T15:05:08.000Z","dependencies_parsed_at":"2024-01-27T15:36:13.865Z","dependency_job_id":"8ef16ae8-f342-4ef2-b343-704313e5f9a7","html_url":"https://github.com/Bodigrim/tasty-inspection-testing","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"1cb33593291f5fe15f0173f0f4371265c5a35c17"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bodigrim%2Ftasty-inspection-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bodigrim%2Ftasty-inspection-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bodigrim%2Ftasty-inspection-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bodigrim%2Ftasty-inspection-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bodigrim","download_url":"https://codeload.github.com/Bodigrim/tasty-inspection-testing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244838396,"owners_count":20518820,"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":["compile-time-testing","tasty","testing"],"created_at":"2024-10-12T10:34:51.495Z","updated_at":"2025-03-21T17:31:46.014Z","avatar_url":"https://github.com/Bodigrim.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tasty-inspection-tasting\n\nIntegrate [`inspection-testing`](http://hackage.haskell.org/package/inspection-testing)\ninto [`tasty`](http://hackage.haskell.org/package/tasty) test suites.\n\n```haskell\n{-# LANGUAGE TemplateHaskell #-}\n{-# OPTIONS_GHC -O -dsuppress-all -dno-suppress-type-signatures -fplugin=Test.Tasty.Inspection.Plugin #-}\n\nimport Test.Tasty\nimport Test.Tasty.Inspection\n\nlhs :: (a -\u003e b) -\u003e Maybe a -\u003e Bool\nlhs f x = case fmap f x of\n  Nothing -\u003e True\n  Just{}  -\u003e False\n\nrhs :: (a -\u003e b) -\u003e Maybe a -\u003e Bool\nrhs _ Nothing = True\nrhs _ Just{}  = False\n\nmain :: IO ()\nmain = defaultMain $(inspectTest $ 'lhs === 'rhs)\n```\n\nReal world examples:\n\n* https://hackage.haskell.org/package/random-1.2.1/src/test-inspection/Spec/Inspection.hs\n* https://hackage.haskell.org/package/linear-base-0.2.0/src/test/Test/Data/V.hs\n* https://hackage.haskell.org/package/text-2.0/src/tests/Tests/Properties/LowLevel.hs\n* https://hackage.haskell.org/package/text-1.2.5.0/src/tests/Tests/Inspection/Strict.hs\n* https://hackage.haskell.org/package/sized-1.0.0.1/src/test/opt-test.hs\n* https://hackage.haskell.org/package/vector-0.13.0.0/src/tests-inspect/Inspect/DerivingVia.hs\n* https://hackage.haskell.org/package/infinite-list-0.1/src/test/Fusion.hs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbodigrim%2Ftasty-inspection-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbodigrim%2Ftasty-inspection-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbodigrim%2Ftasty-inspection-testing/lists"}