4

I recently look in the Jasmine framework and I need to known if exists any way to use Specflow language to describe the behavior and Jasmine as TestRunner

Sam Holder
  • 32,535
  • 13
  • 101
  • 181
Miguel
  • 3,786
  • 2
  • 19
  • 32

1 Answers1

3

Specflow is cucumber for .net, so it won't be able to run javascript tests using jasmine.

However there are a couple of cucumber frameworks for javascript (see this and the answers in this question which also shows how jasmine expects the tests to be written BDD style.) which will give you natural language syntax used in SpecFlow for you javascript tests.

Community
  • 1
  • 1
Sam Holder
  • 32,535
  • 13
  • 101
  • 181
  • Yes I known this but is a little bit awkward to have both and I looking for any solution that allow me to use only one language for behavior description. Thanks anyway! – Miguel Dec 12 '14 at 15:35
  • did you see the link for cucumber.js? that IS gerkin syntax, same as specflow – Sam Holder Dec 12 '14 at 15:38
  • Yes I'm reviewing now that link, looks pretty similar – Miguel Dec 12 '14 at 15:38