Alex KeySmith
Alex KeySmith

Reputation: 17101

Cucumber js in visual studio 2013

Is there a project with similar goals as Specflow is to cucumber in Visual Studio, but for cucumberjs?

I'm considering a unit testing / bdd framework for Visual Studio. Cucumberjs seems like the obvious choice as I am using Specflow to test the c#. However cucumberjs requires nodejs to be installed.

Chutzpah runs things like jasmine, qunit etc in Visual Studio. Is there a way to do the same for cucumberjs? Perhaps nodejstools for visualstudio with a mixture of something else?

There is a Feature request: Cucumber-js support for Chutzpah, but it's work in progress.

(Chutzpah was moved to github, so the issue was lost)

A new Chutzpah feature request on github for cucumber-js support

There is an interview with a cucumber core member saying (below) which sounds promising:

"Support for Cucumber.js is being added to popular IDEs like Jetbrains Webstorm 8 and Visual Studio."

Upvotes: 6

Views: 1096

Answers (2)

Matthew Adams
Matthew Adams

Reputation: 474

As per David Leitner's reply, I've created a step-by-step guide to setting up cucumberjs in Visual Studio.

http://blogs.endjin.com/2015/10/step-by-step-guide-to-setting-up-cucumberjs-in-visual-studio-2015/

Upvotes: 4

David Leitner
David Leitner

Reputation: 3382

I've done this by using the Visual Studio Task Runner Explorer. (You have to add it if you use VS 2013, with 2015 it's already included.)

This Extension is a task runner for Grunt and Gulp directly within Visual Studio 2013. It is now possible to define a Grunt task, like this one which runs your cucumberjs Features.

Upvotes: 1

Related Questions