{"id":15291979,"url":"https://github.com/sancakerkan/libraryapp-integrationtesting","last_synced_at":"2025-03-24T09:41:28.159Z","repository":{"id":254856716,"uuid":"847752803","full_name":"sancakerkan/LibraryApp-IntegrationTesting","owner":"sancakerkan","description":"This repository contains integration tests for the LibraryApp, a Java-based application designed to manage library operations. The tests focus on verifying the interaction between various classes in the application, using Mockito for mocking dependencies.","archived":false,"fork":false,"pushed_at":"2024-08-27T22:35:15.000Z","size":115,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T15:12:24.909Z","etag":null,"topics":["junit","junit5","maven","mockito","mockito-junit-test","software-testing"],"latest_commit_sha":null,"homepage":"","language":"Java","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/sancakerkan.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-26T13:34:28.000Z","updated_at":"2024-08-27T22:35:18.000Z","dependencies_parsed_at":"2024-08-26T16:16:27.470Z","dependency_job_id":"fed92ea1-ad18-424b-b96a-5d91b42a08a0","html_url":"https://github.com/sancakerkan/LibraryApp-IntegrationTesting","commit_stats":null,"previous_names":["sancakerkan/libraryapp-integrationtesting"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sancakerkan%2FLibraryApp-IntegrationTesting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sancakerkan%2FLibraryApp-IntegrationTesting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sancakerkan%2FLibraryApp-IntegrationTesting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sancakerkan%2FLibraryApp-IntegrationTesting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sancakerkan","download_url":"https://codeload.github.com/sancakerkan/LibraryApp-IntegrationTesting/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245247369,"owners_count":20584335,"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":["junit","junit5","maven","mockito","mockito-junit-test","software-testing"],"created_at":"2024-09-30T16:15:26.281Z","updated_at":"2025-03-24T09:41:28.132Z","avatar_url":"https://github.com/sancakerkan.png","language":"Java","readme":"# LibraryApp Integration Testing (Mockito)\n![Java](https://img.shields.io/badge/Java-ED8B00?style=for-the-badge\u0026logo=java\u0026logoColor=white)\n![JUnit](https://img.shields.io/badge/JUnit-25A162?style=for-the-badge\u0026logo=junit5\u0026logoColor=white)\n![Maven](https://img.shields.io/badge/Maven-C71A36?style=for-the-badge\u0026logo=apache-maven\u0026logoColor=white)\n![GitHub](https://img.shields.io/badge/GitHub-100000?style=for-the-badge\u0026logo=github\u0026logoColor=white)\n[![Mockito](https://img.shields.io/badge/Mockito-5.12.0-brightgreen)](https://github.com/mockito/mockito)\n![Issues](https://img.shields.io/github/issues/sancakerkan/LibraryApp-IntegrationTesting)\n![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)\n\n## Table of Contents\n\n- [Introduction](#introduction)\n- [Features](#features)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Testing](#testing)\n- [Call-Graph](#call-graph)\n- [Contributing](#contributing)\n- [License](#license)\n- [Acknowledgements](#acknowledgements)\n\n## Introduction\n\nThis repository contains integration tests for the LibraryApp, a Java-based application designed to manage library operations. The tests focus on verifying the interaction between various classes in the application, using Mockito for mocking dependencies.\n\n## Features\n\n- **Book Management:** Perform operations such as searching, checking out, and submitting books.\n- **Integration Testing:** Comprehensive tests for interactions between the `LibraryApp` and `BookRepository` classes using JUnit and Mockito.\n\n## Installation\n\n### Prerequisites\n\n- Java Development Kit (JDK) 8 or later\n- An IDE with Maven support (IntelliJ IDEA, Eclipse, etc.)\n\n### Cloning the Repository\n\n1. **Using IntelliJ IDEA:** \n    - Go to `File` \u003e `New` \u003e `Project from Version Control`.\n    - Enter the repository URL: `https://github.com/sancakerkan/LibraryApp-IntegrationTesting.git`.\n    - Click `Clone`.\n\n2. **Using Eclipse:**\n    - Go to `File` \u003e `Import...`.\n    - Select `Git` \u003e `Projects from Git` \u003e `Clone URI`.\n    - Enter the repository URL: `https://github.com/sancakerkan/LibraryApp-IntegrationTesting.git`.\n    - Follow the prompts to complete the cloning process.\n  \n3. **OR Simply Download the ZIP file**\n    - [ZIP File](https://github.com/sancakerkan/LibraryApp-IntegrationTesting/archive/refs/heads/main.zip)\n\n## Usage\n\n### Running the LibraryApp\n\n1. **Using IntelliJ IDEA:**\n    - Open the project.\n    - Navigate to `src/main/java/Main.java`.\n    - Right-click `Main.java` and select `Run .\n\n2. **Using Eclipse:**\n    - Open the project.\n    - Navigate to `src/main/java/Main.java`.\n    - Right-click `Main.java` and select `Run As` \u003e `Java Application`.\n\n## Testing\n\n### Running Test Class\n\nYou can run individual test classes, particularly those testing integration scenarios:\n\n1. **Using IntelliJ IDEA:**\n    - Navigate to the specific test class (e.g., `LibraryAppTest.java`).\n    - Right-click the class and select `Run 'LibraryAppTest'`.\n\n2. **Using Eclipse:**\n    - Navigate to the specific test class (e.g., `LibraryAppTest.java`).\n    - Right-click the class and select `Run As` \u003e `JUnit Test`.\n\n ### Test Structure\n- `LibraryAppTest`: Tests the integration between `LibraryApp` and `BookRepository`, covering cases like book search, checkout, and submission.\n\n## Call-Graph\n\u003cimg src=\"https://github.com/sancakerkan/LibraryApp-IntegrationTesting/blob/44e9dbf56d60de05d2bb614f1777a62e93c538b7/.idea/callgraph.png\" alt=\"Call Graph\" width=\"500\"/\u003e\n\n## Contributing\n\nContributions are welcome! If you have any suggestions or improvements, feel free to open an issue or submit a pull request.\n\n1. Fork the repository\n2. Create your feature branch \n3. Commit your changes \n4. Push to the branch \n5. Open a pull request\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.\n\n## Acknowledgements\n- **Special thanks to the creators of Mockito and JUnit for providing the testing frameworks used in this project.**\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsancakerkan%2Flibraryapp-integrationtesting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsancakerkan%2Flibraryapp-integrationtesting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsancakerkan%2Flibraryapp-integrationtesting/lists"}