{"id":15288125,"url":"https://github.com/heige-pcloud/tasty-process","last_synced_at":"2025-09-11T18:50:20.883Z","repository":{"id":227262096,"uuid":"770915043","full_name":"HEIGE-PCloud/tasty-process","owner":"HEIGE-PCloud","description":"Test execution of external processes with Tasty","archived":false,"fork":false,"pushed_at":"2024-03-14T08:31:30.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-07T09:52:34.632Z","etag":null,"topics":["haskell","integration-testing","tasty","testing"],"latest_commit_sha":null,"homepage":"https://heige-pcloud.github.io/tasty-process/Test-Tasty-Process.html","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HEIGE-PCloud.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":"2024-03-12T11:37:11.000Z","updated_at":"2024-03-14T06:22:22.000Z","dependencies_parsed_at":"2024-12-01T11:50:47.749Z","dependency_job_id":null,"html_url":"https://github.com/HEIGE-PCloud/tasty-process","commit_stats":null,"previous_names":["heige-pcloud/tasty-process"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/HEIGE-PCloud/tasty-process","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HEIGE-PCloud%2Ftasty-process","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HEIGE-PCloud%2Ftasty-process/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HEIGE-PCloud%2Ftasty-process/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HEIGE-PCloud%2Ftasty-process/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HEIGE-PCloud","download_url":"https://codeload.github.com/HEIGE-PCloud/tasty-process/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HEIGE-PCloud%2Ftasty-process/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274690022,"owners_count":25331898,"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-09-11T02:00:13.660Z","response_time":74,"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":["haskell","integration-testing","tasty","testing"],"created_at":"2024-09-30T15:44:11.751Z","updated_at":"2025-09-11T18:50:20.817Z","avatar_url":"https://github.com/HEIGE-PCloud.png","language":"Haskell","readme":"# tasty-process\n\n`tasty-process` is a library for running integration tests with the [Tasty](https://github.com/UnkindPartition/tasty) testing framework.\n\nFeatures:\n\n- Run an external process as a test case\n- Supply input to `stdin`\n- Test the process' `exitcode`, `stdout` and `stderr`\n- Set timeout for the running process using Tasty's `Timeout` option\n- Automatic clean up the process after the test\n\n## Example\n\nHere is an example Echo program that reads from `stdin` and echos back to `stdout`.\n\n```hs\nmodule Main (main) where\n\nmain :: IO ()\nmain = getLine \u003e\u003e= putStr\n```\n\nAnd here is a test case for the Echo program using `tasty-process`.\n\n```hs\nimport System.Exit (ExitCode (..))\nimport Test.Tasty (TestTree)\nimport Test.Tasty.Process\n\nechoTest :: TestTree\nechoTest =\n  setTimeout (1000000) $ -- set timeout to 1 second\n    processTest\n      \"Echo test\" -- test name\n      TestProcess\n        { process =\n          (proc \"echo-test\" []) -- process to launch with a list of arguments\n        , input = \"Echo!\" -- input to stdin\n        , exitCodeCheck = equals ExitSuccess -- check exit code\n        , stdoutCheck = equals \"Echo!\" -- check stdout\n        , stderrCheck = equals \"\" -- check stderr\n        }\n\n```\n\n## Documentation\n\nSee the [Hackage page](https://hackage.haskell.org/package/tasty-process) for detailed API documentation.\n\n## GHC Compatibility\n\n`tasty-process` is tested with GHC version \u003e= 8.6\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheige-pcloud%2Ftasty-process","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheige-pcloud%2Ftasty-process","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheige-pcloud%2Ftasty-process/lists"}