EF Core In-Memory DB (for testing) does not allow List<int> property even though this is something Postgres does. How would I go about testing this?

This page summarizes the projects mentioned and recommended in the original post on /r/dotnet

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • FluentDocker

    Use docker, docker-compose local and remote in tests and your .NET core/full framework apps via a FluentAPI

  • I have a blog post on setting up docker in your integration tests. Want to refactor it to use fluent docker eventually but works well for now.

  • dotnet-testcontainers

    Discontinued 🐋 A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions. [Moved to: https://github.com/testcontainers/testcontainers-dotnet]

  • Not every db support array as primitive, if you want to write integration tests and you have access to docker I suggest you testcontainers.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • LocalDb

    Provides a wrapper around SqlLocalDB to simplify running tests or samples that require a SQL Server Database (by SimonCropp)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts