samedi 30 janvier 2016

Run Nunit tests using teamcity on deployed site

I have configured TeamCity with Git to get my ASP.NET MVC project. I added tests with NUnit as the last step.

But one test checks method which works only on the machine where my project is deployed (access restriction peculiarity).

So test fails because it tests code that is being deployed on TeamCity deploying agent machine. I have to run tests against deployed environment somehow.

Can I somehow make my tests check functionality of projects on the deployed to machine site or run dll with tests from the directory where the site has been deployed to?

Aucun commentaire:

Enregistrer un commentaire