{"id":13509160,"url":"https://github.com/genericlady/chemistry","last_synced_at":"2026-02-18T23:32:14.669Z","repository":{"id":62428977,"uuid":"77332397","full_name":"genericlady/chemistry","owner":"genericlady","description":"Chemistry is a Testing Framework for Elixir","archived":false,"fork":false,"pushed_at":"2018-05-07T21:20:16.000Z","size":11,"stargazers_count":7,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-21T15:06:29.211Z","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/genericlady.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}},"created_at":"2016-12-25T15:42:41.000Z","updated_at":"2023-05-14T14:39:06.000Z","dependencies_parsed_at":"2022-11-01T20:03:28.996Z","dependency_job_id":null,"html_url":"https://github.com/genericlady/chemistry","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/genericlady/chemistry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/genericlady%2Fchemistry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/genericlady%2Fchemistry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/genericlady%2Fchemistry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/genericlady%2Fchemistry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/genericlady","download_url":"https://codeload.github.com/genericlady/chemistry/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/genericlady%2Fchemistry/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29598237,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T22:25:43.180Z","status":"ssl_error","status_checked_at":"2026-02-18T22:25:42.766Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2024-08-01T02:01:03.816Z","updated_at":"2026-02-18T23:32:14.648Z","avatar_url":"https://github.com/genericlady.png","language":"Elixir","funding_links":[],"categories":["Testing"],"sub_categories":[],"readme":"# Chemistry\n\nA testing framework for Elixir.\n\n## Installation\n\n[available in Hex](https://hex.pm/packages/chemistry), the package can be installed as:\n\n  1. Add `chemistry` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [{:chemistry, \"~\u003e 0.1.4\"}]\nend\n```\n\n  2. Ensure `chemistry` is started before your application:\n\n```elixir\ndef application do\n  [applications: [:chemistry]]\nend\n```\n\n## Examples\n\nFrom Interactive Elixir, type `iex` from terminal.\n\n```elixir\niex(1)\u003e import Chemistry.Lab \nChemistry.Lab\niex(2)\u003e expect 1 == 1\n.:ok\niex(3)\u003e expect 1 \u003e 1\nFAILURE:\n  Expected: 1 to be greater than 1\n\n:ok\niex(4)\u003e \n```\n\nPlace all labs inside of `./lab` and be sure to append `_lab.exs` to\nanything you want to be a lab.\n\nWrite expressive tests using a call to `it` followed by a description\nfor the lab.\n\n```elixir\ndefmodule MathLab do\n  use Chemistry.Lab\n\n  it \"Can use integers for addition and subtraction.\" do\n    expect 2 + 3 == 5\n    expect 5 - 5 == 10\n  end\n\n  it \"Can use integers for multiplication and division\" do\n    expect 5 * 5 == 25\n    expect 10 / 2 == 5\n  end\nend\n```\n\nRun `iex` from the terminal to see an example file message.\n\n```\niex(1)\u003e MathLab.run\n.===========================================\nFAILURE: Can use integers for addition and subtraction.\n===========================================\nFAILURE:\n  Expected: 0 to be equal to 10\n\n\n:ok\n```\n\n## License\nCopyright 2016 Yianna Kokalas\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may\nnot use this file except in compliance with the License. You may obtain\na copy of the License at [Apache\n2.0](http://www.apache.org/licenses/LICENSE-2.0)\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenericlady%2Fchemistry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgenericlady%2Fchemistry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenericlady%2Fchemistry/lists"}