{"id":19572658,"url":"https://github.com/parapluu/target","last_synced_at":"2025-02-26T11:14:52.239Z","repository":{"id":34896700,"uuid":"38926655","full_name":"parapluu/target","owner":"parapluu","description":null,"archived":false,"fork":false,"pushed_at":"2017-02-07T16:18:33.000Z","size":257,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-09T03:41:57.790Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/parapluu.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}},"created_at":"2015-07-11T13:30:47.000Z","updated_at":"2016-12-30T09:13:40.000Z","dependencies_parsed_at":"2022-09-15T22:23:12.364Z","dependency_job_id":null,"html_url":"https://github.com/parapluu/target","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/parapluu%2Ftarget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parapluu%2Ftarget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parapluu%2Ftarget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parapluu%2Ftarget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parapluu","download_url":"https://codeload.github.com/parapluu/target/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240840103,"owners_count":19866167,"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":"2024-11-11T06:27:56.570Z","updated_at":"2025-02-26T11:14:52.217Z","avatar_url":"https://github.com/parapluu.png","language":"Erlang","readme":"[![Build Status](https://travis-ci.org/parapluu/target.svg?branch=master)](https://travis-ci.org/parapluu/target)\n\n# Target - Targeted Property-Based Testing\n\nTarget adds a search-based strategy component to PropEr's input generation\nprocess, which helps in finding counterexamples faster in properties that\naim to maximize (or minimize) the value of some variable of the property.\n\n## Simple Example\n\n```Erlang\n-include_lib(\"proper/include/proper.hrl\").\n-include_lib(\"target/include/target.hrl\").\n\nprop_example_target() -\u003e\n  ?TARGET_STRATEGY(target_sa,\n      ?FORALL(X, ?TARGET(target_sa:float(0.0, 10000.0)),\n              begin\n                ?MAXIMIZE(X),\n                X \u003c 9990.0\n\t      end)).\n\n%% prop_example() -\u003e\n%%  ?FORALL(X, float(0.0, 10000.0), X \u003c 9990.0).\n```\n\nTarget will be able to falsify properties like these much faster than vanilla\nPropEr.\n\n```Erlang\nput(target_sa_steps, 10000).\nproper:quickcheck(prop_example_target(), 10000).\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparapluu%2Ftarget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparapluu%2Ftarget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparapluu%2Ftarget/lists"}