Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does anyone have an mstest runner for Jasmine?

Given the rather extensive existing library of tests in MStest, I would like to add jasime for testign javascript and inbclude those new test in the MSTesting framework so that there is minimal disruption to current TDD patterns...

If anyone knows of an existing mstest runner for Jasmine, I would appreciate it. Would save time now having ot build one myself. Also opne to other MSTest integration ideas as well, just in case I'm chasing the wrong solution...

Our current continuos integration/source control solution is TFS 2010.

Development is with VS 2010 and the resharper plugin.

like image 742
Shire Avatar asked Jun 29 '11 20:06

Shire


People also ask

What is Jasmine testing tool?

Jasmine is an open-source testing framework for JavaScript. It aims to run on any JavaScript-enabled platform, to not intrude on the application nor the IDE, and to have easy-to-read syntax. It is heavily influenced by other unit testing frameworks, such as ScrewUnit, JSSpec, JSpec, and RSpec.

How can we make individual specs pending in Jasmine?

Just like suites, you can also exclude individual specs using the xit() function which temporary disables the it() spec and marks the spec as pending.


1 Answers

Chutzpah runs Jasmine or QUnit tests in the headless PhantomJS browser from the command line. I'm currently working on publishing it's output to TFS 2010 called from a PSake build script. My hope is that with some XSLT or other magic, I can get the JS tests to fail the build if one doesn't pass.

like image 86
Kelly Adams Avatar answered Sep 28 '22 08:09

Kelly Adams