{"id":13509180,"url":"https://github.com/KazuCocoa/ex_parameterized","last_synced_at":"2025-03-30T13:31:46.802Z","repository":{"id":45202281,"uuid":"42186115","full_name":"KazuCocoa/ex_parameterized","owner":"KazuCocoa","description":"This library support parameterized test with test_with_params macro.","archived":true,"fork":false,"pushed_at":"2023-11-19T06:57:38.000Z","size":82,"stargazers_count":28,"open_issues_count":5,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-07-16T13:54:46.170Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/KazuCocoa/ex_parameterized","language":"Elixir","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/KazuCocoa.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}},"created_at":"2015-09-09T15:09:07.000Z","updated_at":"2023-11-19T06:58:03.000Z","dependencies_parsed_at":"2024-01-31T07:53:44.696Z","dependency_job_id":null,"html_url":"https://github.com/KazuCocoa/ex_parameterized","commit_stats":null,"previous_names":["kazucocoa/ex_parametarized"],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KazuCocoa%2Fex_parameterized","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KazuCocoa%2Fex_parameterized/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KazuCocoa%2Fex_parameterized/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KazuCocoa%2Fex_parameterized/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KazuCocoa","download_url":"https://codeload.github.com/KazuCocoa/ex_parameterized/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":213450242,"owners_count":15589019,"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-08-01T02:01:04.136Z","updated_at":"2024-08-01T02:02:59.976Z","avatar_url":"https://github.com/KazuCocoa.png","language":"Elixir","funding_links":[],"categories":["Testing"],"sub_categories":[],"readme":"ExParameterized\n===============\n\n![Elixir CI](https://github.com/KazuCocoa/ex_parameterized/workflows/Elixir%20CI/badge.svg?branch=master)\n[![](https://img.shields.io/hexpm/v/ex_parameterized.svg?style=flat)](https://hex.pm/packages/ex_parameterized)\n\nThis no longer works with Elixir 1.15 right now.\n\n## Description\n\nThis library support parameterized test with `test_with_params` macro.\n\n### Support\n- `test` macro provided by ExUnit.Case and ExUnit.CaseTemplate\n- `Callback` like `setup` provided by ExUnit.Callback\n\n\n## Demo\n\nClone this repository and run test with `mix test`.\nYou can see some example in `test/ex_parameterized_*.exs`\n\n## Usage\n\nPlease see module [docs](https://hexdocs.pm/ex_parameterized/ExUnit.Parameterized.html#content).\n\n## Install\n\nFirst, add Reporter to your mix.exs dependencies:\n\n```elixir\ndef deps do\n  [\n    {:ex_parameterized, \"~\u003e 1.3.7\"}\n  ]\nend\n```\n\nand run `$ mix deps.get`.\n\n## QuickUse\n\nShould set `use ExUnit.Parameterized` in module.\n\n```elixir\ndefmodule MyExampleTest do\n  use ExUnit.Case, async: true\n  use ExUnit.Parameterized        # Required\n\n  test_with_params \"add params\",  # description\n    fn (a, b, expected) -\u003e        # test case\n      assert a + b == expected\n    end do\n      [\n        {1, 2, 3},                 # parameters\n        \"description\": {1, 4, 5},  # parameters with description\n      ]\n  end\nend\n```\n\n\n\n## Licence\n\n[MIT](https://github.com/KazuCocoa/ex_parameterized/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKazuCocoa%2Fex_parameterized","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FKazuCocoa%2Fex_parameterized","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKazuCocoa%2Fex_parameterized/lists"}