Giorgi / DuckDB.NET

Bindings and ADO.NET Provider for DuckDB
https://duckdb.net
MIT License
339 stars 61 forks source link

Refactor tests - Extract connection code #102

Closed Giorgi closed 7 months ago

Giorgi commented 1 year ago

Now that every in-memory database is isolated from each other tests can use in-memory databases without interfering with each other and use the same name for the table.

Use one of the approaches from Shared Context between Tests to extract connection setup code from tests to a single place.

Giorgi commented 9 months ago

Examples in DuckDBDataReaderTests.cs and DuckDBDataReaderListTests.cs

Giorgi commented 8 months ago

Reopening as there are many tests still not using the common base class. @urizn Do you want to have a look at it again?