{"id":24182903,"url":"https://github.com/codesteak/elixir-streamdata-examples","last_synced_at":"2026-05-12T18:02:59.169Z","repository":{"id":72817284,"uuid":"451222852","full_name":"CodeSteak/elixir-streamdata-examples","owner":"CodeSteak","description":null,"archived":false,"fork":false,"pushed_at":"2022-01-23T20:29:49.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-13T08:35:34.416Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/CodeSteak.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":"2022-01-23T20:29:13.000Z","updated_at":"2022-01-23T20:29:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"7643e9c3-e31c-4251-8fb5-b27a1282092b","html_url":"https://github.com/CodeSteak/elixir-streamdata-examples","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/CodeSteak%2Felixir-streamdata-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeSteak%2Felixir-streamdata-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeSteak%2Felixir-streamdata-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeSteak%2Felixir-streamdata-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeSteak","download_url":"https://codeload.github.com/CodeSteak/elixir-streamdata-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241573723,"owners_count":19984526,"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":[],"created_at":"2025-01-13T08:29:13.767Z","updated_at":"2026-05-12T18:02:54.123Z","avatar_url":"https://github.com/CodeSteak.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Property-Based Testing In Elixir\n\nThis demo is based around [`StreamData v0.5.0`](https://github.com/whatyouhide/stream_data), \nan Elixir library for property-based testing and test data generation. Elixir \nversion `1.13.0` is used for all examples. \n\nIt's structured in 3 parts. Each provides it's own README for more information.\n * [`01_hello_world`](01_hello_world) shows very basic usage and setup.\n * [`02_parallel_merge_sort`](02_parallel_merge_sort) provides the main examples in the slides of the \n    presentation and compares approaches.\n * [`03_json_parser`](03_json_parser) implements a JSON-Parser as show case. It uses more advanced\n    data generation for testing. First serializable data is generated, then it \n    is feed in a tokenizer that produces JSON, then whitespace between tokens is\n    added. The generated JSON-string is feed into the parser. It is checked if \n    the parser matches the initial serializable data.\n\n\n For creation of this project these resources were mainly used:\n\n 1. StreamData v0.5.0 Documentation. Retrieved January 23, 2022, from https://hexdocs.pm/stream_data/StreamData.html\n 2. Hébert Fred. (2019). Property-based testing with proper, Erlang, and elixir: Find bugs before your users do. The Pragmatic Bookshelf. https://propertesting.com/\n 3. Leopardi, A. (2017, October 31). Streamdata: Property-based testing and data generation (Blog Post). Retrieved January 23, 2022, from https://elixir-lang.org/blog/2017/10/31/stream-data-property-based-testing-and-data-generation-for-elixir/ \n 4. Claessen, K., \u0026amp; Hughes, J. (2000). QuickCheck. Proceedings of the Fifth ACM SIGPLAN International Conference on Functional Programming  - ICFP '00. https://doi.org/10.1145/351240.351266 \n 5. Arts, T., Hughes, J., \u0026amp; Johansson, J. (2006). Testing telecoms software with quviq QuickCheck. Proceedings of the 2006 ACM SIGPLAN  Workshop on Erlang  - ERLANG '06. https://doi.org/10.1145/1159789.1159792 \n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodesteak%2Felixir-streamdata-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodesteak%2Felixir-streamdata-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodesteak%2Felixir-streamdata-examples/lists"}