Question

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."

Was it helpful?

Solution 2

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.

OTHER TIPS

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/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top