Visual Studio remote debugging over HTTPS

Quick hint: to enable IIS Express in VS to work with HTTPS, change “SSL Enabled” to true in project properties, and change project URL in Web tab to something like “https://localhost:44300”. The port MUST be 44300 or higher.
Props

props2

No more “This site can’t be reached

The connection was reset.
Try:
Checking the connection
Checking the proxy and the firewall

A good read: Working with SSL at Development Time is easier with IISExpress

How to run Jasmine tests as nUnit tests and test sites you don’t own.

Problem:
We’ve been using a 3rd party tool to generate a page, and I had to test some data there.
Since I had no knowledge of the DOM (it would be preferable to think of it as a black box), I couldn’t really use traditional tools that would validate the presence of certain elements on a page. A better way would be to inject a script into a page and validate the content of some global variables.

In my scenario it also would be preferable to keep test code separate from the site being tested and treat it as something I don’t own (it’s being built by another team, so it would be easier).

So I want to be able to inject my Jasmine tests into a page; I want to see the list of tests as NUnit tests. Continue reading “How to run Jasmine tests as nUnit tests and test sites you don’t own.”