{"id":20130927,"url":"https://github.com/eulixir/json_response","last_synced_at":"2026-05-13T19:32:56.488Z","repository":{"id":106846212,"uuid":"387437112","full_name":"eulixir/json_response","owner":"eulixir","description":"A better response formatter in json for your tests","archived":false,"fork":false,"pushed_at":"2021-08-20T19:53:50.000Z","size":9,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-30T09:20:16.713Z","etag":null,"topics":["elixir","json"],"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/eulixir.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}},"created_at":"2021-07-19T11:14:49.000Z","updated_at":"2023-02-04T17:09:07.000Z","dependencies_parsed_at":"2023-08-07T22:06:43.498Z","dependency_job_id":null,"html_url":"https://github.com/eulixir/json_response","commit_stats":null,"previous_names":["eulixir/json_response"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/eulixir/json_response","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eulixir%2Fjson_response","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eulixir%2Fjson_response/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eulixir%2Fjson_response/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eulixir%2Fjson_response/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eulixir","download_url":"https://codeload.github.com/eulixir/json_response/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eulixir%2Fjson_response/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32997636,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"ssl_error","status_checked_at":"2026-05-13T13:14:51.610Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","json"],"created_at":"2024-11-13T20:43:52.216Z","updated_at":"2026-05-13T19:32:56.471Z","avatar_url":"https://github.com/eulixir.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JsonResponse\n\nFormatter Json para testes em Elixir\n\nAdicionar no `test_helper.exs`\n\n```elixir\n  ExUnit.configure formatters: [ExUnit.CLIFormatter, JsonResponse]\n```\n\nAdicionar o Arquivo do formater de preferência na pasta `support` e adicionar a configuração no `mix.exs` para carregar a pasta junto com os testes\n\n```elixir\n  defp elixirc_paths(:test), do: [\"lib\", \"test/support\"]\n```\n\nExemplo:\n\n```json\n{\n  \"excluded\": [],\n  \"failed\": [\n    {\n      \"describe\": \"by_id/1\",\n      \"file\": \"/media/miticos/HD/github/json_response/test/exmoveit/users/get_test.exs\",\n      \"line\": 10,\n      \"module\": \"Elixir.Exmoveit.Users.GetTest\",\n      \"test\": \"test by_id/1 When id exist, returns the user\"\n    }\n  ],\n  \"invalid\": [],\n  \"passed\": [\n    {\n      \"describe\": \"changeset/1\",\n      \"file\": \"/media/miticos/HD/github/json_response/test/exmoveit/user_test.exs\",\n      \"line\": 14,\n      \"module\": \"Elixir.Exmoveit.UserTest\",\n      \"test\": \"test changeset/1 When all params are valid, returns a valid changeset\"\n    }\n  ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feulixir%2Fjson_response","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feulixir%2Fjson_response","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feulixir%2Fjson_response/lists"}