tag:support.appharbor.com,2010-11-23:/discussions/problems/5685-plasma-tests-what-directory-relative-to-the-site-do-the-tests-run-inAppHarbor: Discussion 2013-12-18T23:10:10Ztag:support.appharbor.com,2010-11-23:Comment/178277572012-08-05T10:19:54Z2012-08-05T10:21:03ZPlasma tests - what directory (relative to the site) do the tests run in?<div><p>I'm trying to run some Plasma (<a href=
"https://github.com/dansweeting/plasma">https://github.com/dansweeting/plasma</a>)
tests on the appharbor application I have. Plasma needs you to
specify the root directory of your site, so that it can run inside
the same app domain as the tests.</p>
<p>Is it possible to do this?</p></div>mrshrinkraytag:support.appharbor.com,2010-11-23:Comment/178277572012-08-05T23:31:12Z2012-08-05T23:31:12ZPlasma tests - what directory (relative to the site) do the tests run in?<div><p>Hi,</p>
<p>If you download the build output of one of your builds you can
see the relative path. We run unit tests in the root folder, and
the website is located in
`{Rootfolder}_PublishedWebsites{WebsiteProjectName}.</p>
<p>Hope this helps and let us know if you can make it work!</p>
<p>Best,<br>
Rune</p></div>runetag:support.appharbor.com,2010-11-23:Comment/178277572012-08-19T19:52:26Z2012-08-19T19:52:26ZPlasma tests - what directory (relative to the site) do the tests run in?<div><p>I don't think they're going to run unfortunately, Plasma uses
the .NET framework folder to compile the temp files:</p>
<p>The current identity (IP-0A56D150\apphb3f37ec1d56cc478) does not
have write access to
'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET
Files</p>
<p>If you have any ideas how to massage Plasma to get it running
that'd be good, it's at <a href=
"https://github.com/jennifersmith/plasma">https://github.com/jennifersmith/plasma</a>.
It makes a very nice testing tool for website tests that don't
require UI/Javascript interactions, i.e. regression testing.</p></div>mrshrinkraytag:support.appharbor.com,2010-11-23:Comment/178277572012-08-20T09:37:03Z2012-08-20T09:37:03ZPlasma tests - what directory (relative to the site) do the tests run in?<div><p>Hi,</p>
<p>Yeah unfortunately we cannot allow write-access to that folder.
I'm wondering if it'd be possible for you to configure the temp
directory, so it's not written to that folder?</p>
<p>Best,<br>
Rune</p></div>runetag:support.appharbor.com,2010-11-23:Comment/178277572012-08-20T10:50:47Z2012-08-20T10:50:47ZPlasma tests - what directory (relative to the site) do the tests run in?<div><p>Is it possible to explicitly set the "<compilation
tempDirectory=" setting on Appharbor? I can see from the build
definition the bin folder has a number of precompiled views in
there already.</p></div>mrshrinkraytag:support.appharbor.com,2010-11-23:Comment/178277572012-08-21T23:47:07Z2012-08-21T23:47:07ZPlasma tests - what directory (relative to the site) do the tests run in?<div><p>We're working on adding support for this. We're already
modifying the relevant value, but the valid tempDirectory is
removed just before unit tests are run.</p>
<p>Michael</p></div>friism