{"id":20179498,"url":"https://github.com/csdummi/testhaskell","last_synced_at":"2025-10-25T20:06:21.501Z","repository":{"id":114100625,"uuid":"155244910","full_name":"CSDUMMI/TestHaskell","owner":"CSDUMMI","description":"Small and simple Haskell Testing Framework","archived":false,"fork":false,"pushed_at":"2018-10-30T17:19:35.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-13T16:50:46.363Z","etag":null,"topics":["haskell","haskell-simple","haskell-tdd","tdd"],"latest_commit_sha":null,"homepage":"","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/CSDUMMI.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2018-10-29T16:30:05.000Z","updated_at":"2018-10-30T17:19:36.000Z","dependencies_parsed_at":"2023-06-13T02:30:37.687Z","dependency_job_id":null,"html_url":"https://github.com/CSDUMMI/TestHaskell","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSDUMMI%2FTestHaskell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSDUMMI%2FTestHaskell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSDUMMI%2FTestHaskell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSDUMMI%2FTestHaskell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CSDUMMI","download_url":"https://codeload.github.com/CSDUMMI/TestHaskell/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241616681,"owners_count":19991542,"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":["haskell","haskell-simple","haskell-tdd","tdd"],"created_at":"2024-11-14T02:26:56.903Z","updated_at":"2025-10-25T20:06:21.449Z","avatar_url":"https://github.com/CSDUMMI.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TestHaskell \nSimple TDD Framework for Haskell.\nMy first TDD Framework was Jestjs and I still \nlike the simple Syntax of the expect function\nthat they used and that made a test much like\nnative english.\nI wanted to port that to Haskell.\n## Expect Syntax\nThe Basic Concept is:\n```haskell\n  expect $ value1 `predicate` value2\n```\nFor example:\n```haskell\n  expect $ 1 `toBe` 0+1\n```\nif this test passes (as it should) then the program won't give\nyou any  notice of it. But if it would fail as here for example:\n ```haskell\n expect $ 1 `toBeGreaterThen` 2\n ```\nit will print out a message like this:\n  1 should be greater then 2\nevery predicate generates such a  message and expect will print it out\nif the test fails.\n\n## Setup your project for TestHaskell\nI don't won't you to transform your whole project\njust to use my Framework. Instead you can just copy the \nTest.hs file into your own project then\nimport it to all your test files\nand finally write a main that executes all your tests.\nFor more see sampleTest.hs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsdummi%2Ftesthaskell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsdummi%2Ftesthaskell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsdummi%2Ftesthaskell/lists"}