{"id":22173673,"url":"https://github.com/stefruseva88/unit-tests-mocks","last_synced_at":"2026-02-12T21:31:59.462Z","repository":{"id":236092334,"uuid":"791895445","full_name":"StefRuseva88/unit-tests-mocks","owner":"StefRuseva88","description":"Unit-testing, decoupling, mocking with Moq framework in C#","archived":false,"fork":false,"pushed_at":"2024-11-28T17:16:25.000Z","size":52,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-04T13:32:15.709Z","etag":null,"topics":["decoupling","moq-framework","nunit-tests","unit-testing"],"latest_commit_sha":null,"homepage":"","language":"C#","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/StefRuseva88.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-04-25T15:22:45.000Z","updated_at":"2025-02-06T17:34:54.000Z","dependencies_parsed_at":"2024-06-25T19:29:14.018Z","dependency_job_id":"c696b3f9-805b-4c1a-84e7-50ccfcb21630","html_url":"https://github.com/StefRuseva88/unit-tests-mocks","commit_stats":null,"previous_names":["stefruseva88/unittestingwithmoq","stefruseva88/unit-testing-and-mocking","stefruseva88/unit-tests-mocks"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/StefRuseva88/unit-tests-mocks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefRuseva88%2Funit-tests-mocks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefRuseva88%2Funit-tests-mocks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefRuseva88%2Funit-tests-mocks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefRuseva88%2Funit-tests-mocks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StefRuseva88","download_url":"https://codeload.github.com/StefRuseva88/unit-tests-mocks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefRuseva88%2Funit-tests-mocks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29381768,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T20:34:40.886Z","status":"ssl_error","status_checked_at":"2026-02-12T20:23:00.490Z","response_time":55,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["decoupling","moq-framework","nunit-tests","unit-testing"],"created_at":"2024-12-02T07:34:40.837Z","updated_at":"2026-02-12T21:31:59.445Z","avatar_url":"https://github.com/StefRuseva88.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unit Testing with Mocking\n[![C#](https://img.shields.io/badge/Made%20with-C%23-239120.svg)](https://learn.microsoft.com/en-us/dotnet/csharp/)\n[![.NET](https://img.shields.io/badge/.NET-5C2D91.svg)](https://dotnet.microsoft.com/)\n[![Moq](https://img.shields.io/badge/tested%20with-Moq-6DB33F.svg)](https://github.com/moq)\n[![NUnit](https://img.shields.io/badge/tested%20with-NUnit-22B2B0.svg)](https://nunit.org/)\n\n### This is a test project for **Back-End Tehnologies** January 2024 Course @ SoftUni\n---\n\n## Project Description\nThis repository showcases several test projects designed to demonstrate essential techniques in back-end testing. The focus is primarily on unit testing, decoupling, and using the Moq framework for mocking dependencies in C#.\n\n## Core Concepts\n- **Unit Testing:** Testing individual units of code in isolation to ensure they function as expected.\n- **Decoupling:** Minimizing dependencies between system components, enabling easier testing and greater modularity.\n- **Mocking:** Leveraging the Moq framework to create mock objects that simulate real dependencies, allowing for controlled testing scenarios.\n  \n## Technologies Used\n- **Moq:** A powerful and flexible mocking framework for .NET that simplifies creating test doubles.\n- **NUnit:** A widely used testing framework for writing and running tests in .NET environments.\n  \n## Projects in the Repository\n### 1. GetGreeting Project\n- **GetGreeting.Tests:** Contains unit tests designed to validate the functionality of the GetGreeting application.\n- **GetGreeting:** The main application project responsible for generating personalized greetings.\n\n### 3. ItemManagement Project\n- **ItemManagementApp:** The main application logic for managing items, including adding, updating, and removing items.\n- **ItemManagementLib:** A shared library that contains the core functionalities used by the ItemManagementApp.\n- **ItemManagementTests:** A collection of unit tests written to validate the behavior and functionality of the ItemManagement project.\n\n## Requirements\nTo run and modify these test projects, you’ll need:\n\n- .NET 6.0 SDK or higher\n- Visual Studio 2022 or later / Visual Studio Codee\n\n## License\nThis project is licensed under the [MIT License](LICENSE). See the [LICENSE](LICENSE) file for details.\n\n## Contact\nFor any questions or suggestions, please reach out to me or open an issue in the repository.\n\n---\n### Happy Testing! 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefruseva88%2Funit-tests-mocks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstefruseva88%2Funit-tests-mocks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefruseva88%2Funit-tests-mocks/lists"}