lundi 6 avril 2015

How do I use the ReSharper custom HTML harness for JavaScript testing?

I've tried everything with this option trying to create a custom HTML harness for my QUnit tests. I've consulted the limited documentation on their site but am getting nowhere, even though I've tried pretty much every combination of path syntax and option from the "Test harness location" dropdown.


I have copied the default implementation to a test html file, and modified it very simply to have some custom titles and elements inside, but no matter where I put the file or how I define a path to it, every time I run the unit tests using ReSharper's test runner, either from inside a file containing tests, or running tests on the project, I just see the default ReSharper QUnit screen.


I've also tried to use this using PhantomJS and not the browser to no avail.


I should be able to use this option to customize an HTML page for my JS tests, using syntax identical to Chutzpah, correct? I am using Resharper 9.0.0.0.


Aucun commentaire:

Enregistrer un commentaire