npgsql / doc

Documentation site for npgsql
http://npgsql.org/
27 stars 76 forks source link

No instructions on compiling & running tests #220

Open TibbsTerry opened 2 years ago

TibbsTerry commented 2 years ago

Are there any details regarding contributing? and or getting the solution to compile etc.?

I've encountered various issue trying to compile & run unit tests (Win10, VS2022, branch stable)

Npgsql.EntityFrameworkCore.PostgreSQL.CommandInterceptionNpgsqlTestBase+CommandInterceptionNpgsqlTest.Intercept_non_query_one_app_and_one_injected_interceptor(async: False) Npgsql.PostgresException : 53300: sorry, too many clients already

Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.NpgsqlDatabaseModelFactoryTest.Column_collation_is_set Npgsql.PostgresException : 42809: "BlogsView" is not a table

Npgsql.EntityFrameworkCore.PostgreSQL.Storage.LegacyNpgsqlTypeMappingTest.GenerateSqlLiteral_returns_timestamptz_datetime_literal Assert.StartsWith() Failure: Expected: TIMESTAMPTZ '1997-12-17 07:37:16+10:00 Actual: TIMESTAMPTZ '1997-12-17 07:37:16+11:00...

roji commented 2 years ago

Yeah, we definitely should add some documentation. There's this page for setting up PG for the tests, but it's insufficient.

Here are some immediate answers, I'll try to add real docs at some point on all of this.