{"id":16592441,"url":"https://github.com/hauleth/ex_unit_embedded","last_synced_at":"2025-10-14T15:43:13.710Z","repository":{"id":140294979,"uuid":"169450839","full_name":"hauleth/ex_unit_embedded","owner":"hauleth","description":"Define ExUnit tests alongside your private functions to test them.","archived":false,"fork":false,"pushed_at":"2019-02-06T19:32:03.000Z","size":11,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-01T23:42:05.330Z","etag":null,"topics":["elixir","exunit","testing"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hauleth.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":"2019-02-06T17:59:56.000Z","updated_at":"2023-08-30T08:44:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"2638cc00-a886-4cf8-b345-8068d77cd3c8","html_url":"https://github.com/hauleth/ex_unit_embedded","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hauleth/ex_unit_embedded","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hauleth%2Fex_unit_embedded","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hauleth%2Fex_unit_embedded/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hauleth%2Fex_unit_embedded/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hauleth%2Fex_unit_embedded/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hauleth","download_url":"https://codeload.github.com/hauleth/ex_unit_embedded/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hauleth%2Fex_unit_embedded/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279019347,"owners_count":26086711,"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-10-14T02:00:06.444Z","response_time":60,"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":["elixir","exunit","testing"],"created_at":"2024-10-11T23:20:55.034Z","updated_at":"2025-10-14T15:43:13.685Z","avatar_url":"https://github.com/hauleth.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ExUnitEmbedded\n\nDefine tests within module to test private functions.\n\n## Installation\n\nIf [available in Hex](https://hex.pm/docs/publish), the package can be installed\nby adding `ex_unit_embedded` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:ex_unit_embedded, \"~\u003e 0.1.0\"}\n  ]\nend\n```\n\nDocumentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)\nand published on [HexDocs](https://hexdocs.pm). Once published, the docs can\nbe found at [https://hexdocs.pm/exunit_embedded](https://hexdocs.pm/ex_unit_embedded).\n\n## Usage\n\nSimply use `ExUnitEmbedded` and define your tests (no `describe` available):\n\n```elixir\ndefmodule Foo do\n  use ExUnitEmbedded\n\n  defp foo, do: :ok\n\n  test \"foo/0 returns :ok\" do\n    assert :ok = foo()\n  end\nend\n```\n\nThen in your test module invoke `unittest Foo`:\n\n```elixir\ndefmodule FooTest do\n  use ExUnit.Case\n  import ExUnitEmbedded\n\n  unittest Foo\nend\n```\n\n## License\n\nApache 2.0, see [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhauleth%2Fex_unit_embedded","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhauleth%2Fex_unit_embedded","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhauleth%2Fex_unit_embedded/lists"}