This is a migrated thread and some comments may be shown as answers.

Unit Test settings and deploy additional files

1 Answer 53 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Giovanni
Top achievements
Rank 1
Iron
Iron
Iron
Giovanni asked on 05 Nov 2012, 08:43 AM
Hi,
I'm try to use the test feature of JustCode, but I have a problem.
In my solution I use NHibernate and I specify the settings in a XML file (che classic hibernate.cfg.xml). With the standard Visual Studio test system, I can use a test settings file where I can deploy additional files. So with the standard system I can deploy the NHibernate settings file in the test build output directory, and all works fine.
If I run the same tests with JustCode, I have that many tests fails because the XML settings file is not deployed. Is there a way to deploy additional files in the same way of the standard Visual Studio system?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Zdravko
Telerik team
answered on 08 Nov 2012, 09:37 AM
Hello,

 Thanks for contacting us.
Would you try with DeploymentItem class ? Maybe it will help you.
Thanks.

Kind regards,
Zdravko
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
General Discussions
Asked by
Giovanni
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Zdravko
Telerik team
Share this question
or