{"id":18894653,"url":"https://github.com/ademcatamak/todowebapi","last_synced_at":"2026-04-18T17:35:37.769Z","repository":{"id":116948274,"uuid":"339815402","full_name":"AdemCatamak/ToDoWebApi","owner":"AdemCatamak","description":"Integration Test with TestContainers | https://ademcatamak.medium.com/integration-test-with-net-core-and-docker-21b241f7372","archived":false,"fork":false,"pushed_at":"2021-02-17T18:18:47.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-23T17:03:02.857Z","etag":null,"topics":["docker","dotnet-core","integration-testing","test-containers"],"latest_commit_sha":null,"homepage":"","language":"C#","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/AdemCatamak.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}},"created_at":"2021-02-17T18:17:15.000Z","updated_at":"2021-02-24T06:55:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"e88f3f47-b9f1-4af4-95d8-4e5932db3b63","html_url":"https://github.com/AdemCatamak/ToDoWebApi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AdemCatamak/ToDoWebApi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdemCatamak%2FToDoWebApi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdemCatamak%2FToDoWebApi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdemCatamak%2FToDoWebApi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdemCatamak%2FToDoWebApi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AdemCatamak","download_url":"https://codeload.github.com/AdemCatamak/ToDoWebApi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdemCatamak%2FToDoWebApi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31978248,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T17:30:12.329Z","status":"ssl_error","status_checked_at":"2026-04-18T17:29:59.069Z","response_time":103,"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":["docker","dotnet-core","integration-testing","test-containers"],"created_at":"2024-11-08T08:23:56.476Z","updated_at":"2026-04-18T17:35:37.753Z","avatar_url":"https://github.com/AdemCatamak.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# ToDoWebApi | ![.github/workflows/github.yml](https://github.com/AdemCatamak/ToDoWebApi/workflows/.github/workflows/github.yml/badge.svg?branch=master)\n\nThis project has been prepared to set an example for writing an integration test using [Test Containers](https://github.com/HofmeisterAn/dotnet-testcontainers).\n\nYou can access the article referencing this project on [Medium](https://medium.com/@ademcatamak/integration-test-with-net-core-and-docker-21b241f7372).\n\n[Medium](https://medium.com/@ademcatamak/net-core-ve-docker-ile-entegrasyon-testi-4bf51c03246f) aracılığıyla bu projeyi referans alan yazıma ulaşabilirsiniz.\n\n# Implementation Details\n\nThe project uses [Sql Server Db](https://www.microsoft.com/tr-tr/sql-server/sql-server-2019).\n\nCommunication with the database and creation of database tables are provided by [Entity Framework Core](https://github.com/dotnet/efcore).\n\n[XUnit](https://github.com/xunit/xunit) library is used when tests are coded.\n\nExternal components, such as the database required for the tests to run, are created on [Docker](https://www.docker.com/products/docker-desktop) platform via [Test Containers](https://github.com/HofmeisterAn/dotnet-testcontainers).\n\n# Run\n\nThe project is developed with [.Net Core 3.1](https://dotnet.microsoft.com/download/dotnet-core/3.1). To compile and run, you must have the appropriate .NetCore SDK.\n\nSql Server database is needed for ToDoWebApi application to work. It will be sufficient to place the connection string belonging to the Sql Server database you have in the `SqlServerConnectionStr` field in `appsettings.json`.\n\n# Test\n\nThe project is developed with [.Net Core 3.1](https://dotnet.microsoft.com/download/dotnet-core/3.1). To compile and run, you must have the appropriate .NetCore SDK. In addition, the database will be created as a container with the Docker tool. For this reason, the [Docker](https://www.docker.com/products/docker-desktop) tool must be installed on your computer in order for the tests to run.\n\nToDoWebApi.Test project provides access to the database through the port _9999_. Therefore, you must make sure that this port is not used in order to start the test process. Another method is to write a port value that you know is empty to the field `SqlServerConnectionStr` in the `appsettings.test.json` file.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fademcatamak%2Ftodowebapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fademcatamak%2Ftodowebapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fademcatamak%2Ftodowebapi/lists"}