awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
testcontainers avatar

testcontainers/testcontainers-dotnet

0
View on GitHub↗
4,317 نجوم·348 تفرعات·C#·MIT·2 مشاهداتdotnet.testcontainers.org↗

Testcontainers Dotnet

Testcontainers for .NET هي مكتبة اختبار Docker وإطار عمل لاختبار التكامل مصمم لإدارة دورة حياة الحاويات المؤقتة. توفر تجريدات عالية المستوى كغلاف لواجهة برمجة تطبيقات Docker لتوفير بنية تحتية سريعة الزوال، واستبدال المحاكيات (mocks) بقواعد بيانات حقيقية، ومراسلات، ومثيلات محركات بحث لضمان بيئات اختبار معزولة وقابلة للتكرار.

يتميز المشروع بنمط حاوية تكوين البناء وآلية ربط المنافذ الديناميكية التي تمنع التصادمات أثناء تنفيذ الاختبار المتزامن. يتيح اتصالاً موثوقاً بين الخدمات عبر تنسيق الشبكة الافتراضية وتسمية الشبكة المستعارة، ويضمن توفر الخدمة من خلال فحوصات الجاهزية القائمة على الاستطلاع (polling) لنقاط نهاية HTTP ومنافذ TCP.

توفر المكتبة وحدات متخصصة لقواعد البيانات العلائقية، وNoSQL، وقواعد بيانات المتجهات، بالإضافة إلى وسطاء المراسلة ومحاكيات الخدمات السحابية. تمتد قدراتها إلى تكوين صور الحاويات، وجمع السجلات، ومحاكاة ظروف الشبكة للتحقق من مرونة النظام.

تدعم الاتصال بأوقات تشغيل Docker المحلية والبعيدة من خلال متغيرات البيئة وملفات التكوين الموحدة.

Features

  • Automated Testing Containers - Creates and destroys isolated containers specifically for the automated test lifecycle across different operating systems.
  • Container Lifecycle Management - Provides a comprehensive framework for managing the full lifecycle of containers, including creation, networking, and cleanup.
  • Docker Integration Testing Libraries - Provides a library that automates the lifecycle of Docker containers to create isolated environments for integration tests.
  • Containerized Database Integration - Provisions disposable relational, NoSQL, or vector database instances in Docker to verify data persistence and query logic.
  • Containerized Instances - Starts and manages temporary Apache Cassandra database instances for use in automated tests.
  • Containerized Instances - Starts and stops column-oriented ClickHouse SQL database instances as throwaway containers for isolated tests.
  • Containerized Instances - Deploys MongoDB database containers with custom authentication and replica settings for isolated testing.
  • Containerized Instances - Starts throwaway PostgreSQL database instances with specific versions and configurations for isolated test environments.
  • Redis Provisioners - Manages the lifecycle of Redis instances by starting and removing throwaway containers for in-memory data storage.
  • Service Endpoint Retrieval - Extracts broker and HTTP URLs from running containers to connect client applications to the active instance.
  • Database Containers - Creates and starts disposable Db2 container instances for isolated database testing.
  • Test Database Provisioning - Provides automated deployment of database containers specifically tailored for development and integration testing environments.
  • Container Lifecycle Management - Manages the full lifecycle of creating, configuring, and cleaning up Docker containers during test suite execution.
  • Valkey Support - Deploys Redis-compatible Valkey in-memory data stores in containers to provide clean environments for automated tests.
  • Orphaned Container Cleanup - Automatically identifies and removes orphaned containers and resources after test execution to prevent environment clutter.
  • Ephemeral Container Cleanup - Automatically removes temporary containers and virtual networks after test completion to prevent resource leaks.
  • Docker Engine API Clients - Acts as a high-level SDK providing programmatic interfaces to interact with the Docker Engine API for container management.
  • Ephemeral Service Provisioning - Provides automatic creation and destruction of temporary containerized services to ensure isolated integration test environments.
  • Runtime Connectivity - Handles connectivity to local Docker daemons or remote container runtimes via standardized configurations.
  • Service Readiness Checks - Repeatedly queries HTTP endpoints or TCP ports to ensure services are fully initialized before proceeding with tests.
  • Container Connection Resolution - Provides automatic resolution of network addresses and API endpoints for containers to ensure reliable communication during integration tests.
  • Container Networking Configurations - Provides capabilities to create and manage isolated virtual networks for multi-container communication.
  • Container Port Mapping - Binds internal container ports to random available host ports to expose services to the test host.
  • Dynamic Port Binding - Binds container ports to random available host ports to prevent collisions between concurrent test executions.
  • Dynamic Port Listeners - Maps container ports to random available host ports to prevent collisions during concurrent test execution.
  • Container Network Linking - Connects multiple containers via a shared virtual network to enable communication between applications and test browsers.
  • Configuration Injection - Maps dynamic connection strings and environment variables into application configurations for integration testing.
  • Specialized Container Modules - Wraps generic container logic into specialized modules for specific databases and messaging systems to simplify setup.
  • Container Health Monitors - Monitors the internal health status of containers and pauses execution until they are ready.
  • Test Isolation - Ensures total environment isolation by creating a fresh, disposable container for every individual test.
  • Integration Testing Frameworks - Provides a framework to provision real database, messaging, and search engine containers to replace mocks in integration tests.
  • Elasticsearch Containers - Starts distributed Elasticsearch search and analytics engines in containers with support for HTTPS and passwords.
  • Qdrant Integrations - Manages the lifecycle of Qdrant vector database containers and provides API connection strings.
  • MongoDB Script Execution - Executes custom scripts inside a MongoDB database container and captures the exit code and output to verify state.
  • OpenSearch Containers - Spins up isolated OpenSearch instances with configurable security settings for automated tests.
  • SQL Script Execution - Runs SQL commands directly inside a Db2 container and captures execution results and error output.
  • Cloud Service Emulators - Runs containerized versions of cloud services locally to enable development and testing in isolation from the cloud.
  • Startup Arguments - Defines or overrides the entrypoint and command arguments that the container executes upon starting.
  • Version Pinning - Overrides default image tags to specific versions to ensure consistent and reproducible test environments.
  • CI/CD Pipeline Integrations - Integrates with container-hosting runners in pipeline tools to automate the lifecycle of test dependencies.
  • Azure Service Bus Emulators - Starts a local messaging emulator in a container to verify asynchronous communication code without cloud connectivity.
  • Event Hubs Emulators - Starts a local containerized instance of an event streaming service to test code in isolation from the cloud.
  • Container Environment Variable Injection - Configures container environments by setting variables and mapping local files or host directories.
  • Container CI/CD Pipelines - Integrates container-based dependencies into automated pipelines to run tests without relying on shared external infrastructure.
  • Container Image Building - Creates container images from a Dockerfile by specifying the build context and directory.
  • Container Image Configurations - Specifies the container image to use, including support for specific platforms and architecture resolution.
  • Container Reuse Strategies - Identifies and attaches to existing containers based on configuration to avoid redundant startup costs between test runs.
  • Container Network Attachments - Allows attaching existing containers to virtual networks to enable communication between disparate resources.
  • Virtual Network Isolations - Creates private network bridges to enable isolated service-to-service communication via aliases.
  • Port Readiness Verification - Monitors TCP ports and blocks test execution until the port is open and accepting incoming connections.
  • Virtual Network Creation - Sets up isolated virtual networks and assigns containers to them for communication via aliases without exposing ports.
  • Container Instance Sharing - Maintains a single container instance for multiple test classes to reduce startup overhead.
  • Builder Patterns - Implements a fluent builder pattern to define container specifications before instantiating the actual resource.
  • Container Log Retrieval - Provides utilities to fetch and stream logs from running containers for debugging and verification.
  • Browser Automation - Deploys pre-configured browser instances for executing automated web tests in isolation.
  • Readiness Checks - Implements polling-based readiness checks for HTTP endpoints to ensure services are fully initialized before tests proceed.
  • Network Condition Simulation - Simulates network conditions by injecting latency, timeouts, and bandwidth limits to verify system resiliency.
  • أطر عمل الاختبار - Library for running tests with throwaway Docker containers.

سجل النجوم

مخطط تاريخ النجوم لـ testcontainers/testcontainers-dotnetمخطط تاريخ النجوم لـ testcontainers/testcontainers-dotnet

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

الأسئلة الشائعة

ما هي وظيفة testcontainers/testcontainers-dotnet؟

Testcontainers for .NET هي مكتبة اختبار Docker وإطار عمل لاختبار التكامل مصمم لإدارة دورة حياة الحاويات المؤقتة. توفر تجريدات عالية المستوى كغلاف لواجهة برمجة تطبيقات Docker لتوفير بنية تحتية سريعة الزوال، واستبدال المحاكيات (mocks) بقواعد بيانات حقيقية، ومراسلات، ومثيلات محركات بحث لضمان بيئات اختبار معزولة وقابلة للتكرار.

ما هي الميزات الرئيسية لـ testcontainers/testcontainers-dotnet؟

الميزات الرئيسية لـ testcontainers/testcontainers-dotnet هي: Automated Testing Containers, Container Lifecycle Management, Docker Integration Testing Libraries, Containerized Database Integration, Containerized Instances, Redis Provisioners, Service Endpoint Retrieval, Database Containers.

ما هي البدائل مفتوحة المصدر لـ testcontainers/testcontainers-dotnet؟

تشمل البدائل مفتوحة المصدر لـ testcontainers/testcontainers-dotnet: ory/dockertest — dockertest is a Docker integration testing library and programmatic Go client used to boot and manage ephemeral… testcontainers/testcontainers-go — testcontainers-go is a Docker integration testing library for Go designed to provision and manage disposable… testcontainers/testcontainers-java — Testcontainers for Java is a library for launching and managing disposable Docker containers to provide isolated… yeasy/docker_practice — This project is a Docker educational resource and a collection of practical examples designed for learning… quarkusio/quarkus — Quarkus is a Kubernetes-native Java framework designed for building high-performance, memory-efficient applications.… apocas/dockerode — Dockerode is a Node.js library that provides programmatic management of Docker containers, images, and volumes by…

بدائل مفتوحة المصدر لـ Testcontainers Dotnet

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Testcontainers Dotnet.
  • ory/dockertestالصورة الرمزية لـ ory

    ory/dockertest

    4,521عرض على GitHub↗

    dockertest is a Docker integration testing library and programmatic Go client used to boot and manage ephemeral containers. It functions as a containerized test orchestrator that provides isolated environments for integration tests by managing the lifecycle of dependent services. The library handles ephemeral environment orchestration by provisioning temporary containers and networks. It ensures environment consistency through service readiness checks and automated resource cleanup to prevent leaks after test execution completes. The project covers containerized service validation, including

    Goautomationcidocker
    عرض على GitHub↗4,521
  • testcontainers/testcontainers-goالصورة الرمزية لـ testcontainers

    testcontainers/testcontainers-go

    4,889عرض على GitHub↗

    testcontainers-go is a Docker integration testing library for Go designed to provision and manage disposable containerized infrastructure. It functions as a container lifecycle manager and ephemeral infrastructure provisioner, allowing developers to programmatically create, start, and destroy containers as dependencies for automated integration tests. The library acts as a Docker network orchestrator by mapping container ports to random host ports and resolving network endpoints for test clients. This capability enables parallel test execution by preventing network collisions and ensures that

    Goautomationdockergo
    عرض على GitHub↗4,889
  • testcontainers/testcontainers-javaالصورة الرمزية لـ testcontainers

    testcontainers/testcontainers-java

    8,660عرض على GitHub↗

    Testcontainers for Java is a library for launching and managing disposable Docker containers to provide isolated dependencies for automated tests. It provides specialized provisioners for containerized databases, a manager for WebDriver browser containers, and an orchestrator for deploying multi-container applications via Docker Compose. The project ensures reproducible data states through database schema initialization and provides integration with JUnit to manage the lifecycle of external services. It supports automated browser testing by launching Selenium containers with the ability to re

    Java
    عرض على GitHub↗8,660
  • yeasy/docker_practiceالصورة الرمزية لـ yeasy

    yeasy/docker_practice

    26,111عرض على GitHub↗

    This project is a Docker educational resource and a collection of practical examples designed for learning containerization technologies. It serves as a guide for understanding container fundamentals, including the creation and management of custom images and the use of registries. The repository provides specialized references for container security hardening, such as managing kernel privileges and implementing supply chain security. It also includes tutorials for multi-container orchestration and a DevOps guide focused on CI/CD automation and image optimization. The material covers a broad

    Gobookcloud-computingcontainer
    عرض على GitHub↗26,111
  • عرض جميع البدائل الـ 30 لـ Testcontainers Dotnet→