{"id":29189893,"url":"https://github.com/randjelaa/junit-calculator","last_synced_at":"2025-07-01T23:18:19.908Z","repository":{"id":302317665,"uuid":"1012019827","full_name":"randjelaa/junit-calculator","owner":"randjelaa","description":"This project involves creating a Calculator and CalculatorAdvanced class in Java with full unit testing using JUnit5. Tests must be parameterized, use Hamcrest matchers, and cover all code paths to achieve 100% coverage.","archived":false,"fork":false,"pushed_at":"2025-07-01T17:27:42.000Z","size":218,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-01T18:29:41.165Z","etag":null,"topics":["hamcrest","java","junit","unit-testing"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/randjelaa.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-01T17:23:51.000Z","updated_at":"2025-07-01T17:27:45.000Z","dependencies_parsed_at":"2025-07-01T18:43:10.230Z","dependency_job_id":null,"html_url":"https://github.com/randjelaa/junit-calculator","commit_stats":null,"previous_names":["randjelaa/junit-calculator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/randjelaa/junit-calculator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/randjelaa%2Fjunit-calculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/randjelaa%2Fjunit-calculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/randjelaa%2Fjunit-calculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/randjelaa%2Fjunit-calculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/randjelaa","download_url":"https://codeload.github.com/randjelaa/junit-calculator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/randjelaa%2Fjunit-calculator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263047686,"owners_count":23405280,"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":["hamcrest","java","junit","unit-testing"],"created_at":"2025-07-01T23:18:18.830Z","updated_at":"2025-07-01T23:18:19.841Z","avatar_url":"https://github.com/randjelaa.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JUnit Calculator Project \n\n## Project Summary\n\nThis project requires implementing a `Calculator` class and an extended `CalculatorAdvanced` class in Java, accompanied by comprehensive unit testing using JUnit5.\n\n\n## Testing Requirements\n\n* **Unit Tests:** Write JUnit5 tests for all implemented methods and constructors.\n* **Parameterized Tests:** Wherever possible, tests must be parameterized to cover multiple input scenarios efficiently.\n* **Test Coverage:** Achieve 100% code coverage, ensuring every method and branch is tested.\n* **Hamcrest Matchers:** Use Hamcrest for expressive and readable assertions.\n* **Mutational Testing:** After running mutation testing, address any identified weaknesses or missing test cases.\n* **Test Organization:** Place all test classes in a dedicated test folder within the project structure.\n* **Exception Testing:** Thoroughly test all custom exceptions, including:\n\n  * `DivisionByZeroException`\n  * `NotSupportedOperationException`\n  * `NumberNotInAreaException`\n* **Edge Cases:** Include boundary and edge cases, such as:\n\n  * Division by zero\n  * Invalid operators or actions\n  * Factorial inputs outside allowed range\n  * Armstrong and perfect number validations for valid and invalid inputs\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frandjelaa%2Fjunit-calculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frandjelaa%2Fjunit-calculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frandjelaa%2Fjunit-calculator/lists"}