{"id":15288118,"url":"https://github.com/adetokunbo/tmp-proc","last_synced_at":"2025-04-13T06:32:00.838Z","repository":{"id":46576661,"uuid":"171205587","full_name":"adetokunbo/tmp-proc","owner":"adetokunbo","description":"Use docker to run 'tmp' processes in haskell integration tests","archived":false,"fork":false,"pushed_at":"2025-03-18T07:40:32.000Z","size":450,"stargazers_count":9,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T23:04:37.497Z","etag":null,"topics":["docker","haskell","haskell-library","testing"],"latest_commit_sha":null,"homepage":"https://hackage.haskell.org/package/tmp-proc","language":"Haskell","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/adetokunbo.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-18T03:05:43.000Z","updated_at":"2025-03-18T07:36:32.000Z","dependencies_parsed_at":"2024-01-09T07:49:09.232Z","dependency_job_id":"88a7d7a4-adf1-4006-833a-da4a68bf0c4b","html_url":"https://github.com/adetokunbo/tmp-proc","commit_stats":{"total_commits":170,"total_committers":1,"mean_commits":170.0,"dds":0.0,"last_synced_commit":"8c13a4a87d472d42d158790bb14cd0e86f9d82a7"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adetokunbo%2Ftmp-proc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adetokunbo%2Ftmp-proc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adetokunbo%2Ftmp-proc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adetokunbo%2Ftmp-proc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adetokunbo","download_url":"https://codeload.github.com/adetokunbo/tmp-proc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248674658,"owners_count":21143760,"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":["docker","haskell","haskell-library","testing"],"created_at":"2024-09-30T15:44:10.343Z","updated_at":"2025-04-13T06:32:00.433Z","avatar_url":"https://github.com/adetokunbo.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tmp-proc\n\n[![GitHub CI](https://github.com/adetokunbo/tmp-proc/actions/workflows/cabal.yml/badge.svg)](https://github.com/adetokunbo/tmp-proc/actions)\n[![BSD-3.0 license](https://img.shields.io/badge/license-BSD--3.0-blue.svg)](https://github.com/adetokunbo/tmp-proc/blob/master/tmp-proc/LICENSE)\n\n`tmp-proc` is a testing library designed to simplify integration tests that use\nservices running on docker.\n\n## Goals\n\nWhile it is already possible to write integration tests that use dockerized\nservices using the various haskell testing frameworks, `tmp-proc` aims to make\ndoing so easier by providing useful types and combinators that take care of\nvarious things that contribute to the boilerplate involved while coding\nintegration tests.\n\nIt provides useful combinators that simplify\n\n  * launching multiple services on docker during test setup\n  * connecting to those services from a [WAI][1] server in the integration test\n  * getting connections to the launched services to query their state\n\n`tmp-proc's` combinators allow for easy integration with many of Haskell's\npopular testing frameworks.\n\n## Quick Start\n\nTo get started, please read through this [quick HOWTO][5].\n\nAfter that, you can learn more through a detailed example available as a\nseparate [package][4]. It's a working example of testing a simple\npostgresql/redis servant-based API service, with examples of usage from both\n[hspec][2] and [tasty][3].\n\n\n## Similar libraries\n\n`tmp-proc` provides a similar set of features as [testcontainers][6] library. If\n`tmp-proc` interests you, you might want to check that out too.\n\n\n[1]: https://hackage.haskell.org/package/wai\n[2]: https://hackage.haskell.org/package/tmp-proc-example-0.5.0.0/docs/src/TmpProc.Example2.IntegrationSpec.html#spec\n[3]: https://hackage.haskell.org/package/tmp-proc-example-0.5.0.0/docs/src/TmpProc.Example1.IntegrationTaste.html#tests\n[4]: https://github.com/adetokunbo/tmp-proc/tree/master/tmp-proc-example\n[5]: https://github.com/adetokunbo/tmp-proc/tree/master/tmp-proc#readme\n[6]: https://hackage.haskell.org/package/testcontainers\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadetokunbo%2Ftmp-proc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadetokunbo%2Ftmp-proc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadetokunbo%2Ftmp-proc/lists"}