Anyone have a working Jasmine unittest that runs in Resharper 7 EAP?

jasmine, resharper, unit-testing

Solution

A basic/hardcoded jasmin unit test does work under R#r 7 EAP. This implies that jasmine is baked in to R#r i guess. Have an open question regarding same.

describe('resharper jasmine testrunner', function () {
    describe('simplest possible test', function () {
        it('should execute', function() {
            expect(true).toBe(true);
        });
    });
});

Got a pointer on the R#r forum that doc comment references are your 'includes' (or jsTestDriver.conf equiv).

/// <reference path="../../libs/testing/jasmine/jasmine.js"/>
/// <reference path="../../libs/crunch/jquery-1.6.2.js"/>

Have yet to get my real tests passing though the now run. Investigating fixture paths next.

Problem

I'd really like to be using the R#r test running for my javascript unittests. R#r 7 EAP recognizes the tests but when I launch them the runner shows '... Test wasn't run' for all tests. I can't find any info on what the R#r test runner expects in terms of configuration/directory structure. Directory structure and sample test posted here

Original source