Reporter | Philippe Peuret (capgemini_ppe) |
---|---|
Created | Dec 8, 2011 2:48:52 PM |
Updated | Dec 27, 2011 5:36:03 PM |
Priority | Critical |
Type | Bug |
Fix versions | 6.1.1 |
State | Submitted |
Assignee | Victor Kropp (victor.kropp) |
Subsystem | Unit Testing |
Affected versions | 6.1 |
Fixed in build | No Fixed in build |
Hello,
With Resharper 6.1.25.135, all MSTests failed.
For running of unit tests on Persistance with NHibernate and SQL CE, all files are copied in this folder :
...\Xxx.Infrastructure.Persistance.Tests\bin\Debug\TestResults\MyWindowsLogin_ST3886 2011-12-08 11_13_01\Out
In the "Out" folder, the database files created for tests is created with ReadOnly attribute !
So, impossible to configure database on test initialisation.
The error message :
* Database was not configured through Database method.
—> System.Data.SqlServerCe.SqlCeException: L'accès au fichier de base de données n'est pas autorisé. [ 1884,File name = BaseTestUnitaire.sdf,SeCreateFile ].
Thank you
With Resharper 6.1.25.135, all MSTests failed.
For running of unit tests on Persistance with NHibernate and SQL CE, all files are copied in this folder :
...\Xxx.Infrastructure.Persistance.Tests\bin\Debug\TestResults\MyWindowsLogin_ST3886 2011-12-08 11_13_01\Out
In the "Out" folder, the database files created for tests is created with ReadOnly attribute !
So, impossible to configure database on test initialisation.
The error message :
* Database was not configured through Database method.
—> System.Data.SqlServerCe.SqlCeException: L'accès au fichier de base de données n'est pas autorisé. [ 1884,File name = BaseTestUnitaire.sdf,SeCreateFile ].
Thank you