asp.net - How to test website type project using XUnit? -


i new xunit. have bit knowledge test webapplication using xunit(created test class , open xunit.gui->open assembly->testapplication dll , run). question how test website using xunit? project created website , doesn't have dll.

there similar question relating nunit, , answers there apply here too. assemblies generated code in appcode folder can't referenced if they're generated @ run time. this answer shows how can generated @ build time of test project. however, many people point out, better off moving logic want test business logic assembly or else converting project web application.

another possibility use selenium drive web application through browser , use selenium api in xunit tests. allows automation of end user tests, potentially more useful testing business logic.

if don't need using xunit , open testing framework, check out coded ui tests, enable similar type of browser driving testing selenium when use on websites.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -