{"id":23045238,"url":"https://github.com/douaa1819/employeemanagement-junite","last_synced_at":"2025-09-02T11:38:23.462Z","repository":{"id":257983269,"uuid":"872357698","full_name":"Douaa1819/EmployeeManagement-JUnite","owner":"Douaa1819","description":"unit tests for basic functionalities of Employee Manager application in JEE V2","archived":false,"fork":false,"pushed_at":"2024-10-22T19:49:48.000Z","size":57387,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-14T23:44:44.029Z","etag":null,"topics":["jakarta","java","jsp","junit","mockito","servlet"],"latest_commit_sha":null,"homepage":"","language":"Java","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/Douaa1819.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":"2024-10-14T09:49:44.000Z","updated_at":"2024-11-30T14:17:14.000Z","dependencies_parsed_at":"2024-10-23T03:27:00.942Z","dependency_job_id":"2f81cf0f-5422-47a0-b291-2fe1835a9119","html_url":"https://github.com/Douaa1819/EmployeeManagement-JUnite","commit_stats":null,"previous_names":["douaa1819/employeemanagement-junite"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Douaa1819/EmployeeManagement-JUnite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Douaa1819%2FEmployeeManagement-JUnite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Douaa1819%2FEmployeeManagement-JUnite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Douaa1819%2FEmployeeManagement-JUnite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Douaa1819%2FEmployeeManagement-JUnite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Douaa1819","download_url":"https://codeload.github.com/Douaa1819/EmployeeManagement-JUnite/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Douaa1819%2FEmployeeManagement-JUnite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273279162,"owners_count":25077309,"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-09-02T02:00:09.530Z","response_time":77,"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":["jakarta","java","jsp","junit","mockito","servlet"],"created_at":"2024-12-15T21:19:19.668Z","updated_at":"2025-09-02T11:38:23.411Z","avatar_url":"https://github.com/Douaa1819.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# 👨‍💼 Employee Management System V2\n\n## Overview\nThis **Employee Management System** aims to enhance HR processes for a growing company with over 200 employees. By moving from an inefficient Excel-based system to a centralized Java EE application, we aim to streamline various HR functions.\n\n## 🚀 Features\n- **Employee Management**: Easily manage employee records.\n- **Recruitment**: Publish job offers and track applications.\n- **Leave Management**: Submit and track leave requests.\n- **Family Allowance Calculation**: Automatically calculate allowances.\n- **Reporting**: Generate key reports for management.\n- **Notifications**: Receive alerts for important updates.\n\n\n\n## 🛠️ Technologies Used\n- **Java EE** (JSP, Servlets)\n- **JPA** ORM for database interactions\n- **PostgreSQL** for data storage\n- **Tomcat 10** as the web server\n- **Maven** for dependency management\n- **MVC Architecture** for modular code organization\n- **Repository** and **Service** layers\n\n## 📊 Class Diagram\n[View Class Diagram](https://lucid.app/lucidchart/f53bccdc-e194-4cf1-9a8f-1827929e486e/edit?view_items=MYSfFlOmoGkX\u0026invitationId=inv_7adfdd25-9c07-4819-a4b5-6866750f1ad6)\n\n# 👨‍💼 Employee Management System JUnite\n\n## 🧪 Unit Tests\nThe project includes unit tests for core functionalities to ensure the system works as expected. These tests cover both success and error scenarios, with an emphasis on isolating components using **JUnit** and **Mockito**.\n\n### Tested Components:\n1. **Employee Management (CRUD)**: \n   - Create, Read, Update, and Delete operations for managing employee records.\n2. **Job Offers**:\n   - Create, publish, and delete job offers.\n3. **Leave Management**:\n   - Apply for leave, approve, or reject leave requests.\n   - Test cases include date validation and leave balance verification.\n4. **Family Allowances**:\n   - Calculation of family allowances based on employee's dependents.\n   - Test for correct allowance computation and error handling for missing data.\n\nTests ensure proper functioning in both nominal (success) and edge cases (errors or missing data).\n\n### Technologies for Unit Testing:\n- **JUnit 5** for unit test execution.\n- **Mockito** for mocking dependencies in tests.\n- **Maven** for managing test dependencies and automating test execution.\n## 📜 License\nThis project is licensed under the MIT License.\n\n## 📈 Presentation\n\n[Project Presentation](https://www.canva.com/design/DAGSP4Ce82w/_UKGB7K__KWdkqt-t04pGA/edit)\n\n\n\n## 🗂️ Project Planning\n[View Project Planning](https://douaa123.atlassian.net/jira/software/c/projects/ET/boards/12/backlog)\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdouaa1819%2Femployeemanagement-junite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdouaa1819%2Femployeemanagement-junite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdouaa1819%2Femployeemanagement-junite/lists"}