How to Launch Web Site before launching xunit + Selenium Tests ASPNET 5 How to Launch Web Site before launching xunit + Selenium Tests ASPNET 5 selenium selenium

How to Launch Web Site before launching xunit + Selenium Tests ASPNET 5


In your project.json file you will have defined (I'm assuming you are using RC1 for asp.net 5)

"commands": {    "web": "Microsoft.AspNet.Server.Kestrel"  }

From the command line cd to wherever you have your source code with the project.json file

Then run the following from the command line (I've also assumed that you have the dnx command available on your PATH environment variable)

dnx web

This should launch your application