Unit Test settings and deploy additional files

Thread is closed for posting
2 posts, 0 answers
  1. Giovanni
    Giovanni avatar
    37 posts
    Member since:
    Feb 2011

    Posted 05 Nov 2012 Link to this post

    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?

  2. Zdravko
    Zdravko avatar
    657 posts

    Posted 08 Nov 2012 Link to this post


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

    Kind regards,
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top