bt-skyrise / Postgres2Go

Postgres2Go - dotnet library to easily setup instance of PostgreSQL for integration tests
Other
11 stars 7 forks source link

Shadow-copy assemblies option is not working #51

Open pblachut opened 6 years ago

pblachut commented 6 years ago

When Shadow-copy assemblies being tested option is checked in r# unit testing options then it is not possible to run tests. The message says that it was not possible to find Postgres binaries. Similar situation is also in other runners like fake`s xunit2helper. After disabling this option binaries are being found properly.

Postgres2Go.Helper.Postgres.PostgresBinariesNotFoundException : Could not find Postgres binaries using the search pattern of pg-dist\pgsql-*-windows64-binaries\bin.

zabrowarnyrafal commented 6 years ago

Resharper unit test runner has option to make shadow copy of test DLL and in result $TEMP is folder where searching of PostgreeSQL binaries beginning. Searching of Pg binaries never ends successful.

Same for xunit console runner when shadow copy is enabled