How do you get the Resharper 7 test runner to show the stacktrace for Jasmine tests.
My setup is Resharper 7 (build in Jasmine) testrunner and PhantomJs. When executing any failing test the error message always ends with:
Exception doesn't have a stacktrace
In the 1.6 “Lavender” version of Phantom has added the feature to print the stacktrace when an error occurs.
To replicate this just create a mytest.js file and add the following code to it:
describe("A suite", function() {
it("contains spec with an expectation", function() {
expect(true).toBe(false);
});
});
Got a good response from the Jetbrains Resharper team when I logged the issue. They fixed it and it’s in the 7.1 release of Resharper, which can be downloaded from their EAP site