{"id":32171183,"url":"https://github.com/sheyll/erlymock","last_synced_at":"2026-02-18T09:41:39.428Z","repository":{"id":1383679,"uuid":"1338453","full_name":"sheyll/erlymock","owner":"sheyll","description":"An EasyMock inspired mocking library for erlang.","archived":false,"fork":false,"pushed_at":"2023-03-28T14:54:57.000Z","size":4712,"stargazers_count":23,"open_issues_count":1,"forks_count":9,"subscribers_count":3,"default_branch":"7.3.0-dev","last_synced_at":"2025-10-21T17:51:05.805Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://hexdocs.pm/em","language":"Erlang","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/sheyll.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2011-02-07T16:43:41.000Z","updated_at":"2022-08-10T15:16:20.000Z","dependencies_parsed_at":"2022-07-07T10:54:08.902Z","dependency_job_id":"ffc16b91-bdef-415b-99ea-f88dabfeb1b2","html_url":"https://github.com/sheyll/erlymock","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/sheyll/erlymock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheyll%2Ferlymock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheyll%2Ferlymock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheyll%2Ferlymock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheyll%2Ferlymock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sheyll","download_url":"https://codeload.github.com/sheyll/erlymock/tar.gz/refs/heads/7.3.0-dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheyll%2Ferlymock/sbom","scorecard":{"id":818049,"data":{"date":"2025-08-11","repo":{"name":"github.com/sheyll/erlymock","commit":"04770755b1aa79d65c40ceb06980291f29bb100c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Code-Review","score":0,"reason":"Found 1/29 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch '7.3.0-dev'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T14:41:01.160Z","repository_id":1383679,"created_at":"2025-08-23T14:41:01.160Z","updated_at":"2025-08-23T14:41:01.160Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29575087,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T08:38:15.585Z","status":"ssl_error","status_checked_at":"2026-02-18T08:38:14.917Z","response_time":162,"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":[],"created_at":"2025-10-21T17:43:53.081Z","updated_at":"2026-02-18T09:41:34.419Z","avatar_url":"https://github.com/sheyll.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Erlang Module Mocking\n\n**Easy to use mocking library for unit testing**\n\n* **[API Documentation](https://hexdocs.pm/em)**\n* **[Rebar3 (hex) Installation](https://hex.pm/packages/em)**\n\n## Example\n\n`prouction.erl`:\n\n    find_and_read_book(Isbn) -\u003e\n        {ok, Book} = library:lookup({isbn, Isbn}),\n        media:view_book(Book).\n\n`production_test.erl`:\n\n    take_book_test() -\u003e\n        Mock = em:new(),\n        ISBN = '978-3-596-17577-2',\n\n        %% expectations:\n        em:strict(Mock, library, lookup, [{isbn, ISBN}], {return, {ok, some_book_id}}).\n        em:strict(Mock, media, view_book, [some_book_id], {return, ok}),\n        em:replay(Mock),\n\n        %% Run code under test:\n        production:find_and_read_book(ISBN),\n        %% assertions:\n        em:verify(Mock).\n\n\n## Installation\n\n**Rebar3** and **[hex.pm](https://hex.pm/packages/em)** recommended.\n\nAdd this to your `rebar.config`:\n\n    {em, \"7.2.6\"}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsheyll%2Ferlymock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsheyll%2Ferlymock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsheyll%2Ferlymock/lists"}